<!--#include file="conn.asp" -->
<%
strCurrMenu="14638"
ThisPage=request.ServerVariables("URL")
%>

<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html;">
<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, "You name")) return false;
	if(!CheckEmpty(theform.txtMsg, "Content")) return false;
}
</script>
</head>
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" BodyBegin>
<!--#include file="top.asp"-->
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td colspan="2" height="2" valign="top"><img src="images/mega_1_047.gif" width="208" height="12"></td>
  </tr>
  <tr> 
    <td width="208" height="46" valign="top"> 
      <table width="208" border="0" cellspacing="0" cellpadding="0" height="100%">
        <tr> 
          <td width="198" height="44" bgcolor="f3f2f2" valign="top"> 
            <table width="198" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="3" bgcolor="#CCCCCC">
                    <tr> 
                      <td bgcolor="#FFFFFF"></td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellspacing="1" cellpadding="0" height="5" bgcolor="#CCCCCC">
                    <tr> 
                      <td bgcolor="#FFFFFF"></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td background="images/lin-bg.gif" height="33">
                  <div align="center"><font face="Verdana, Arial, Helvetica, sans-serif"><b><font color="#FFFFFF"> 
                    </font><font face="Verdana, Arial, Helvetica, sans-serif"><b><font color="#FFFFFF">navigation</font></b></font></b></font></div>
                </td>
              </tr>
              <tr> 
                <td height="156"> 
                  <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td height="117" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
                          <tr>
                            <td width="22%" align="right">
<li></td>
                            <td width="78%"><strong>Leave word</strong></td>
                          </tr>
                          <tr>
                            <td align="right">
<li></td>
                            <td><strong><a href="lyshow.asp?mnid=<%=strCurrMenu%>&classname=Leave Word&uppage=<%=ThisPage%>">Look 
                              History</a></strong></td>
                          </tr>
                        </table> </td>
                    </tr>
                    <tr>
                      <td height="20"> 
                        <div align="center"> </div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <!--Link Begin-->
            <%
							isLink=GetKey("Enable",WebUserID,"link")
							if isLink="Yes" then
							%>
            <table width="198" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="3" bgcolor="#CCCCCC">
                    <tr> 
                      <td bgcolor="#FFFFFF"></td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellspacing="1" cellpadding="0" height="5" bgcolor="#CCCCCC">
                    <tr> 
                      <td bgcolor="#FFFFFF"></td>
                    </tr>
                  </table>
                </td>
              </tr>
              <tr> 
                <td background="images/lin-bg.gif" height="33"> 
                  <div align="center"><font face="Verdana, Arial, Helvetica, sans-serif"><b><font color="#FFFFFF">links</font></b></font></div>
                </td>
              </tr>
              <tr> 
                <td height="215"> 
                  <table width="90%" border="0" cellspacing="0" cellpadding="0" align="center">
                    <tr> 
                      <td height="169" align="center"><script language="JavaScript" src="admin/link/link.asp"></script></td>
                    </tr>
                    <tr> 
                      <td height="20"> 
                        <div align="center"> </div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <%
							  end if
							  %>
            <!--Link End-->
          </td>
          <td width="9" height="44" valign="top">&nbsp;</td>
        </tr>
      </table>
    </td>
    <td height="46" width="572" valign="top"> 
      <table width="96%" border="0" cellspacing="0" cellpadding="0" align="center">
        <tr> 
          <td height="21"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td background="images/lin-bg.gif" height="33" width="1%"><img src="images/left.gif" width="9" height="33"></td>
                <td background="images/lin-bg.gif" height="33" width="4%"><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><b><font color="#FFFFFF"><img src="images/ys-j2g.gif" width="14" height="14"></font></b></font></td>
                <td background="images/lin-bg.gif" height="33" width="91%"><font color="#000000" face="Verdana, Arial, Helvetica, sans-serif"><b><font color="#FFFFFF">Leave Word</font></b></font></td>
                <td background="images/lin-bg.gif" height="33" width="4%"> 
                  <div align="right"><img src="images/right.gif" width="10" height="33"></div>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="24">&nbsp;</td>
        </tr>
        <tr> 
          <td>
            <!--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>Please leave word：</strong></td>
                  <td align="right"> 
                    <%if isShow<>"none" then%>
                    <a href="lyshow.asp?mnid=<%=strCurrMenu%>&classname=%A2%E1thispage%A2%E1&uppage=<%=ThisPage%>">&gt;&gt;Look message</a> 
                    <%end if%>
                  </td>
                </tr>
                <tr> 
                  <td height="15" colspan="2"></td>
                </tr>
                <tr> 
                  <td width="26%" align="right" bgcolor="#F9F9F9"><strong>Name：</strong></td>
                  <td width="74%" bgcolor="#F9F9F9"> <input name="txtName" type="text" id="txtName" size="15" maxlength="15">
                    [Must input]</td>
                </tr>
                <%if isDW<>"none" then%>
                <tr> 
                  <td align="right"><strong>Companny：</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>Telphoe：</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>Address：</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>E-mail：</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>Message：</strong></td>
                  <td> <textarea name="txtMsg" cols="40" rows="7" id="txtMsg"></textarea>
                    [Must input]</td>
                </tr>
                <tr bgcolor="#F9F9F9"> 
                  <td height="50">&nbsp;</td>
                  <td height="50" bgcolor="#F9F9F9"> <input type="submit" name="Submit3" value="Submit"> 
                    <input type="reset" name="Submit4" value="Reset">
                    <%if isShow<>"none" then%>
                    <a href="lyshow.asp?mnid=<%=strCurrMenu%>&classname=%A2%E1thispage%A2%E1&uppage=<%=ThisPage%>">&gt;&gt;Look message</a> 
                    <%end if%>
                  </td>
                </tr>
              </table>
            </form>
            <br> 
            <!--GuestBook End-->
          </td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="3" bgcolor="#CCCCCC">
  <tr> 
    <td bgcolor="#FFFFFF"></td>
  </tr>
</table>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="54" align="center" background="images/foot-bg.gif"> <font color="#FFFFFF">未设置<br></font><br>
      <script language="JavaScript" src="admin/count/counter.asp"></script></td>
  </tr>
</table>
<script language="JavaScript" src="common/init.js"></script>
</body>
</html>



