index.asp
来自「新的简单易用的公司管理系统」· ASP 代码 · 共 101 行
ASP
101 行
<!--#include file=ifwap.asp-->
<!--#include file=conn.asp-->
<!--#include file=inc/function.asp-->
<!-- POWERED BY 7wap Enterprise Mobile Infomation System ●<%=now()%>-->
<html>
<head>
<title><%=ewap_name%></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Robots" content="all">
<meta name="Generator" content="Ewap Enterprise Mobile Infomation System">
<meta name="copyright" content="sunyanqing">
<link rel='stylesheet' href='Ewap.css' type='text/css'>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head>
<body>
<div class=main>
<p><span class=title><%=ewap_name%></span>
</p><!--#include file=top.asp-->
<div class=body>
<%
dim rs,sql
set rs=server.createobject("adodb.recordset")
sql="select nid,ntitle,ntime from news order by ntime desc"
rs.open sql,cn,1,1
%>
<%
If rs.eof and rs.bof then
response.write ewap_(23)&"</div>"
else
rc=rs.recordcount
count=ewap_top
%>
<ul>
<%
do while not rs.eof and count>0
count=count-1
ntitle=uhtmlencode(rs("ntitle"))
ntime=rs("ntime")
If len(ntitle)>15 then
ntitle=left(ntitle,15)&"…"
end if
%>
<li><a href=view.asp?id=<%=rs("nid")%> title="<%=rs("ntitle")%>"><%=ntitle%></a>
<small><%=ntime%></small>
<%
rs.movenext
loop
%>
</ul>
</div>
<br/>
【<%=ewap_(24)%>:<%=rc%>】 <a href=more.asp><%=ewap_(36)%>…</a>
<%
rs.close
set rs=nothing
cn.close
set cn=nothing
end if
%>
<br/>
<div class=body>
<span class=title><%=ewap_(50)%></span>
<br/>
<form action="search.asp" metod=post>
<%=ewap_(54)%><select name="t" value=title><option value="title"><%=ewap_(55)%></option><option value="detail"><%=ewap_(56)%></option></select>
<input type=text name="d" size=20 maxlength=20>
<input type=submit value=<%=ewap_(53)%>>
</form>
</div>
<br/>
<div class=body>
<span class=title><%=ewap_(39)%></span>
<ul id=us>
<li><%=ewap_(43)%>: <%=ewap_tel%>
<li><%=ewap_(44)%>: <%=ewap_fax%>
<li><%=ewap_(41)%>: <%=ewap_add%>
<li><%=ewap_(42)%>: <%=ewap_pn%>
<li><%=ewap_(47)%>: <%=ewap_web%>
<li><%=ewap_(46)%>: <%=ewap_wap%>
</ul>
</div><br/><a href=admin_login.asp><%=ewap_(25)%></a>
<br/>
<a title="<%=ewap_(0)%> 2005 <%=ewap_(1)%>">【程序设计:丁兆华】<br/>
<%=ewap_(0)%><%=ewap_(1)%>
</div>
<body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?