<!DOCTYPE html PUBdivC "-//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=gb2312" />
<title> 求片留言 - 网友互动</title>
<script language="javascript" src="gbook/ajax.js"></script>
<script language="javascript" src="gbook/gbook.js"></script>
<link href="gbook/gbook.css" rel="stylesheet" type="text/css" />
</head>
<body>
<%
	Dim num1,rndnum
	Randomize
	Do While Len(rndnum)<4
		num1=CStr(Chr((57-48)*rnd+48))
		rndnum=rndnum&num1
	Loop
	response.cookies("verifycode") = rndnum

%>
<div id="top">
    <h1>请自觉遵守国家相关法律法规,网友对所发信息将负全部法律责任!</h1>
	<form id="send_gbook" action="gbook/index.asp?action=addsave" method="post">
	<div class="right"><textarea id="gb_content" name="gb_content" ></textarea></div>	
	<div class="left">呢　称：<input id="gb_user" name="gb_user" type="text" value="客人" /></div>
	<div class="left">验　证：<input id="gb_code" name="gb_code"  type="text" value="<%=request.cookies("verifycode")%>"/></div>
	<div class="left"><input id="button" type="Submit" value="提交留言" onClick="SubmitGbook();return false;"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:void(0)" onclick="collapse('loginbox')" id=loginbt>管理</a><br/>
    <div id=loginbox style=display:none;margin-top:10px;background:#EFEFEF;width:320px;padding:3px;border:1px solid #CCC;>
    管理员:<input type=text size=10 id=admin name=admin/> 
    密码:<input type=password size=10 id=pws name=pws/>&nbsp;
    <input type=button value=登陆 onclick="login()"/></div>
    </div>
	</form>
</div>
<div id="regb">
	<form id="send_regbook" action="gbook/index.asp?action=regb" method="post">
	<h1>管理员回复该条留言</h1><textarea id="textregb" name="gb_intro"></textarea>
	<input id="gb_id" name="gb_id" type="hidden" value="" /><input id="gb_page" name="page" type="hidden" value="" />
	<h2><input id="regbsub" type="submit" value="确定回复" onClick="SubmitReGbook();return false;"/> <input type="submit" name="Submit2" value="取消" id="delregbsub"/></h2>
	</form>
</div>
<div id="list">留言加载中...</div>
<script language="javascript">getGbook(1); checklogin(); </script>
</body>
</html>
