📄 news.asp
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%
if session("ok")="" then
Response.Write "<script>alert(""非法用户,你没有登录本系统!"");location.href=""index.asp"";</script>"
end if
%>
<% response.buffer=true %>
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
font-family: 宋体;
font-size: 12px;
}
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body>
<div align="center">
<%
id=request.QueryString("id")
if id="" then
response.wirte"<font color=red>没有该生信息,请检查核对!</font>"
response.end
else
rs.open "select * from infor where id="&id,conn,1,1
%>
<br>
<br>
<strong>学生详细信息</strong><br><br>
</div>
<table border="1" cellspacing="0" width="100%" bordercolor="#CCCCCC" bordercolordark="white" bordercolorlight="#CCCCCC" style="font-family:宋体; font-size:10pt; text-align:center;" align="center">
<tr>
<td width="5%" rowspan="7"> </td>
<td height="25" colspan="3"><%=rs("name") %></td>
<td width="4%" rowspan="7"> </td>
</tr>
<tr>
<td width="33%" height="25" align="left">编号:<%=rs("id") %></td>
<td width="34%" align="left">所学课程:<%=rs("class") %></td>
<td rowspan="5">学生相片</td>
</tr>
<tr>
<td height="25" colspan="2" align="left">电话:<%=rs("links") %></td>
</tr>
<tr>
<td height="25" colspan="2" align="left">家庭地址:<%=rs("hefrom") %>
</td>
</tr>
<tr>
<td height="25" colspan="2" align="left">报到时间:<%=rs("starttime") %> 应结业时间:<%=rs("finishtime") %></td>
</tr>
<tr>
<%
if rs("pinkun")=false then
pinkun="<font color=red>否</font>"
else
pinkun="<font color=red>是</font>"
end if
if rs("jieye")=false then
jieye="<font color=red>否</font>"
else
jieye="<font color=red>是</font>"
end if
%>
<td height="25" align="left">是否来自贫困村:> > <%=pinkun %></td>
<td height="25" align="left">现在是否已经结业:> > <%=jieye %></td>
</tr>
<tr>
<td colspan="2"> </td>
<td><%=rs("name") %></td>
</tr>
</table>
<table width="100%" height="188" border="1" align="center" cellspacing="0" bordercolor="#CCCCCC" bordercolorlight="#CCCCCC" bordercolordark="white" style="font-family:宋体; font-size:10pt; text-align:center;">
<tr>
<td width="5%" height="186"> </td>
<td width="23%">备注</td>
<td width="72%" align="left" valign="top"><%=rs("content") %></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td width="38%"> </td>
<td width="29%"><a href="admin_edit.asp?id=<%=rs("id")%>">编辑该生信息</a></td>
<td width="33%"><a href="admin_del.asp?id=<%=rs("id")%>">删除该生信息</a></td>
</tr>
</table>
<%
rs.close
set conn=nothing
end if
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -