| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 495 人关注过本帖
标题:网页有问题,无法显示。高手们帮我看看是怎么回事?
只看楼主 加入收藏
skybirdzw
Rank: 2
等 级:论坛游民
帖 子:189
专家分:12
注 册:2007-3-30
结帖率:66.67%
收藏
 问题点数:0 回复次数:2 
网页有问题,无法显示。高手们帮我看看是怎么回事?
以下是整页代码,我实在查不出来哪有错误了,所以请各位帮帮忙,给点意见啊 ~~~ 在线


<!--#include file="inc/conn.asp"-->
<!--#include file="inc/copy.inc"-->
<% dim rndnum,verifycode
Randomize
Do While Len(rndnum)<4
num1=CStr(Chr((57-48)*rnd+48))
rndnum=rndnum&num1
loop
session("verifycode")=rndnum
%>
<%
dim rs,sql
    set rs=server.createobject("adodb.recordset")
    sql="select top 1 * from admin"
     rs.open sql,conn,1,3  
%>
<html>
<head>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<link href=../css/css.css rel=STYLESHEET type=text/css>
<link href="../css/css1.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#799AE1">
<br>
<br>
<br>
<br>
<table width="413" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#3333CC">
  <tr>
    <td height="29" align="center" background="images/topbg.gif"> <table width="95%" align="right" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="left" valign="middle"><font color="#FFFFFF" size="2"><b></b></font></td>
          <td width="8%" align="right"><img src="images/help.gif" align="middle" border="0" alt="帮助文档">&nbsp;</td>
        </tr>
      </table></td>
  </tr>
  <tr>
    <td height="25" align="center"><b><img src="images/beijing.jpg" width="411" height="74"></b></td>
  </tr>
  <tr>
    <td> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td bgcolor="#EEEAD6"> <form action="inc/check.asp?action=login" method="POST">
              <table width="95%" border="0" align="center">
                <tr>
                  <td> <fieldset>
                    <legend accesskey="F" align="left"><font size="2">登陆窗口</font></legend>
                    <table width="100%" border="0" cellspacing="2" cellpadding="2">
                      <tr>
                        <td width="10%"><font size="2">&nbsp;</font></td>
                        <td width="20%"><font size="2">用&nbsp;户&nbsp;名:</font></td>
                        <td><input name="admin_name" type="text" id="admin_name2" style="border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onFocus="this.select(); " onmouseover="this.style.background='#E1F4EE';" onmouseout="this.style.background='#FFFFFF'">
                        </td>
                      </tr>
                      <tr>
                        <td width="10%"><font size="2">&nbsp;</font></td>
                        <td width="20%"><font size="2">密&nbsp;&nbsp;&nbsp;&nbsp;码:</font></td>
                        <td><input name="admin_pass" type="password" id="admin_pass2" style="border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onFocus="this.select(); " onmouseover="this.style.background='#E1F4EE';" onmouseout="this.style.background='#FFFFFF'">
                        </td>
                      </tr>
                      <tr>
                        <td align="center">&nbsp;</td>
                        <td><font size="2">验&nbsp;证&nbsp;码:</font></td>
                        <td><input name="verifycode" id="verifycode" style="border-style:solid;border-width:1;padding-left:4;padding-right:4;padding-top:1;padding-bottom:1" onFocus="this.select(); " onmouseover="this.style.background='#E1F4EE';" onmouseout="this.style.background='#FFFFFF'" size="6" maxlength="4">
                          <font color="#000000" size="2">请在左边输入 <%=session("verifycode")%>
                                <input type="hidden" name="verifycode2" value="<%=session("verifycode")%>">
                                </font>&nbsp;</font></td>
                      </tr>
                      <tr>
                        <td colspan="2" align="center">&nbsp;</td>
                        <td> <input name="submit" type="submit" class="input" value=" 登 陆 ">
                          <input type="reset" name="submit2" value=" 重 填 " class="input"></td>
                      </tr>
                    </table>
                    </fieldset></td>
                </tr>
              </table>
            </form></td>
        </tr>
      </table></td>
  </tr>
</table>
搜索更多相关主题的帖子: 网页 rndnum sql 
2008-04-23 08:45
skybirdzw
Rank: 2
等 级:论坛游民
帖 子:189
专家分:12
注 册:2007-3-30
收藏
得分:0 
封贴、、
2008-04-23 09:15
fangjchengli
Rank: 1
等 级:新手上路
帖 子:58
专家分:0
注 册:2008-3-1
收藏
得分:0 
有什么问题吗???

做一件事贵在坚持 " target="_blank">印刷资料站
2008-04-23 09:53
快速回复:网页有问题,无法显示。高手们帮我看看是怎么回事?
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.026561 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved