<%
exec="select * from message"
set rs=server.createobject("adodb.recordset")
rs.open exec,conn,1,1
%>
<%do while not rs.eof%><tr>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<link href="style.css" rel="stylesheet" type="text/css" />
<title>工资检索</title>
</head>
<body background="image/bg.gif">
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<table cellSpacing="0" cellPadding="0" width="147" align="center" border="0">
<tbody>
<tr>
<td>
<table cellSpacing="1" cellPadding="0" width="515" align="center" border="0">
<tbody>
<tr>
<td height="18" width="131"><font color="#ff0000" class=main>工资管理系统</font></td>
<td height="18" width="378"></td>
</tr>
<tr><form name="form1" method="post" action="ser.asp">
<td width="131">
<div align="left">
<font class=main>身份证号码:</font>
</div>
</td>
<td width="378">
<font size="2"><input size="25" name="ic">
</font>
</td>
<tr>
<td noWrap width="131">
<div align="left">
<font class=main>请选择月份:</font> </div>
</td>
<td noWrap width="378">
<font size="1"><select name="ym">
<option value="200701">200701</option>
<option value="200702">200702</option>
</select>
</font>
</td>
</tr>
<tr>
<td width="131">
<div align="right">
<p>
</div>
</td>
<td width="378">
<div align="right">
<p align="center"> </div>
<div align="right">
<p>
<input type="image" src="image/s.jpg" border="0" name="imageField" >
</div>
<p><%
Dim objFSO,objFile,filename
filename=Server.MapPath("data/info.asp")
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
If objFSO.FileExists(filename) Then
Set objFile = objFSO.GetFile(filename)
Response.Write "<font color=#008000 class=main>数据库最后更新日期:"&objFile.DateLastModified&"<br></font>"
Else
Response.Write filename&"不存在,无法读取相关信息"
End If
Set objFile = Nothing
Set objFSO = Nothing
%>
<br><font color="#008000" class="main">
<SCRIPT language=JavaScript>
<!--
text = "<%=rs("msg")%>";
color1 = "#008000";
color2 = "white";
fontsize = "";
speed = 100;
i = 0;
if (navigator.appName == "Netscape") {
document.write("<layer id=a visibility=show></layer><br><br><br>");
}
else {
document.write("<div id=a></div>");
}
function changeCharColor() {
if (navigator.appName == "Netscape") {
document.a.document.write("<center><font face=arial ><font color=" + color1 +
">");
for (var j = 0; j < text.length; j++) {
if(j == i) {
document.a.document.write("<font face=arial color=" + color2 + ">" + Text.charAt(i) + "</font>");
}
else {
document.a.document.write(text.charAt(j));
}
}
document.a.document.write('</font></font></center>');
document.a.document.close();
}
if (navigator.appName == "Microsoft Internet Explorer") {
str = "<font face=arial><font color=" + color1 + ">";
for (var j = 0; j < text.length; j++) {
if( j == i) {
str += "<font face=arial color=" + color2 + ">" + text.charAt(i) + "</font>";
}
else {
str += text.charAt(j);
}
}
str += "</font></font>";
a.innerHTML = str;
}
(i == text.length) ? i=0 : i++;
}
setInterval("changeCharColor()", speed);
-->
</SCRIPT></font>
<%
rs.movenext
loop
%>
</td>
</tr>
</table>
</td>
</tr>
</tbody>
</table>
<p> <a href="login.htm"><font class=main zzzpop="" sans-serif helvetica,arial, title color="#FF0000">进入管理页面</font></a>
<td width="733" height="30"> </td>
</p>
<div align="center">
<center>
<table border="0" width="883" height="30">
</table>
</center>
</div>
</body>
</html>