<!--#include file="conn.asp" -->
<!--#include file="Function.asp"-->
<%
strCurrMenu="6"
%>
<html>
<head>
<title>企业智能建站-最简单的建站平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="common/style.css" type="text/css">
<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>



<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" BodyBegin>
<!--#include file="top.asp"-->
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="10">
  <tr> 
    <td bgcolor="#E3E3E3" height="10"> </td>
  </tr>
</table>
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="6">
  <tr> 
    <td height="6"> </td>
  </tr>
</table>
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="10">
  <tr> 
    <td height="116" width="200" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td background="images/config3.gif" height="22">&nbsp;&nbsp;会员登陆</td>
        </tr>
        <tr> 
          <td background="images/config.gif" height="74"> <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0" height="6">
              <tr> 
                <td height="10"> </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="5">
              <%
			'strSQL="Select m_adminserver From member Where id=" & WebUserID
			'Set rsAdmin=Server.CreateObject("ADODB.RecordSet")
			'rsAdmin.open strSQL,sqlconn,1,1
			'strAdminServer=Trim(rsAdmin("m_adminserver"))
			'rsAdmin.close
			'Set rsAdmin=nothing
			'if strAdminServer="" or isnull(strAdminServer) then 
			strAdminServer=WebServer
			%>
              <form method="post" name="reg" action="<%=strAdminServer%>/ChkLogin.asp" onSubmit="return submitchecken(this)">
                <tr>
                  <td rowspan="3" width="15"></td>
                  <td height="40" width="27%">用户名:</td>
                  <td height="40" width="64%"><input name="name" type="text" id="name" size="13">
                  </td>
                </tr>
                <tr>
                  <td height="20" width="27%">密&nbsp;&nbsp;码:</td>
                  <td height="20" width="64%"><input name="password" type="password" id="password" size="13">
                  </td>
                </tr>
                <tr>
                  <td>验证码:</td>
                  <td><input name="validate" type="text" id="validate" size=10>
                      <%Call GetSafeCode%></td>
                </tr>
                <tr>
                  <td height="20" colspan="3"><div align="center">
                      <input name="imageField" type="image" src="images/login_but.gif" width="68" height="24" border="0">
                    &nbsp; <a href="register.asp"><img src="images/zc.gif" width="61" height="24" border="0"></a></div></td>
                </tr>
              </form>
            </table></td>
        </tr>
        <tr> 
          <td background="images/config.gif"><img src="images/config1.gif" width="200" height="8"></td>
        </tr>
      </table>
      <table width="100%" border="0" align="center" cellspacing="0" cellpadding="0" height="3">
        <tr> 
          <td height="3"> </td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
        <tr> 
          <td background="images/config3.gif" height="22"> &nbsp;&nbsp;其它栏目</td>
        </tr>
        <tr> 
          <td background="images/config.gif" height="100%" valign="top">&nbsp; </td>
        </tr>
        <tr> 
          <td background="images/config.gif"><img src="images/config1.gif" width="200" height="8"></td>
        </tr>
      </table>
    </td>
    <td height="116" width="5"></td>
    <td height="116" width="573" valign="top"> 
      <table width="100%" border="0" align="center" cellspacing="1" cellpadding="6" height="133" bgcolor="#CCCCCC">
        <tr> 
          <td height="10" bgcolor="#FFFFFF" valign="top">
            <table width="100%" border="0" cellspacing="0" cellpadding="8" align="center">
              <tr> 
                <td valign="top" height="36"><img src="images/ty.gif" width="545" height="39"></td>
              </tr>
              <tr>
                <td height="300" valign="top"><table width="92%" border="0" align="center">
                    <tr> 
                      <td  height="8"> <div align="center"></div></td>
                    </tr>
                    <tr> 
                      <td  height="23">您的位置 : <A href=".">首页</A> &gt;&gt;写留言</td>
                    </tr>
                    <tr> 
                      <td height="1" background="images/linebg.gif"></td>
                    </tr>
                  </table>
                  <table width="520" 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)">
                          <%
							'读取留言本的属性，以确定显示那个字段
							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 )
							
							%>
                          <table width="100%" border="0" cellspacing="1" cellpadding="4">
                            <tr> 
                              <td><strong>请您留言：</strong></td>
                              <td align="right"> 
                                <%if isShow<>"none" then%>
                                <a href="lyshow.asp?mnid=<%=strCurrMenu%>&classname=留言板">&gt;&gt;查看留言</a> 
                                <%end if%>
                              </td>
                            </tr>
                            <tr> 
                              <td height="15" colspan="2"></td>
                            </tr>
                            <tr> 
                              <td width="20%" align="right" bgcolor="#F9F9F9"><strong>您的姓名：</strong></td>
                              <td width="80%" bgcolor="#F9F9F9"> <input name="txtName" type="text" id="txtName" size="15" maxlength="15">
                                [必填]</td>
                            </tr>
                            <%if isDW<>"none" then%>
                            <tr> 
                              <td align="right"><strong>单位名称：</strong></td>
                              <td><input name="txtDW" type="text" id="txtDW" size="40" maxlength="100"></td>
                            </tr>
                            <%end if%>
                            <%if isTel<>"none" then%>
                            <tr> 
                              <td align="right"><strong>联系电话：</strong></td>
                              <td> <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"><strong>地　址：</strong></td>
                              <td><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"><strong>电子邮件：</strong></td>
                              <td> <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"><strong>OICQ号码：</strong></td>
                              <td><input name="txtOICQ" type="text" id="txtOICQ" size="15" maxlength="15"></td>
                            </tr>
                            <%end if%>
                            <tr bgcolor="#F9F9F9"> 
                              <td align="right"><strong>留言内容：</strong></td>
                              <td> <textarea name="txtMsg" cols="45" rows="7" id="txtMsg"></textarea>
                                [必填]</td>
                            </tr>
                            <tr bgcolor="#F9F9F9"> 
                              <td height="50">&nbsp;</td>
                              <td height="50" bgcolor="#F9F9F9"> <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>
                        <br> 
                        <!--GuestBook End-->
                      </td>
                    </tr>
                  </table></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="6">
  <tr> 
    <td height="6"> </td>
  </tr>
</table>
<table width="778" border="0" align="center" cellspacing="0" cellpadding="0" height="60" background="images/bg3.gif">
  <tr> 
    <td height="6">
      <div align="center"><font color="#FFFFFF">公司地址：郑州市经三路与农业路枣庄20#<br>电话：14837153091 E-Mail:hn22@163.com<br>Copyright&copy;2006-2007 河南数据 All Rights Reserved.<br><br>
        <script language="JavaScript" src="admin/count/counter.asp"></script></font></div>
    </td>
  </tr>
</table>
<script language="JavaScript" src="common/init.js"></script><br><script language=Javascript src="common/tranbig5.Js"></script>
</body>
</html>





