| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 561 人关注过本帖
标题:老大们,那位帮忙一下啊
取消只看楼主 加入收藏
玲珑880
Rank: 1
等 级:新手上路
帖 子:79
专家分:0
注 册:2008-4-16
结帖率:100%
收藏
 问题点数:0 回复次数:1 
老大们,那位帮忙一下啊
那位老大帮忙一下  这个是页面   就是帖子格式后面多了一个空白格子 我怎么搞都删除不掉  那位帮忙看一下 怎么改
<!--#include file="md5.asp" -->
<!--#include file="conn.asp" -->
<!--#include file="top.asp" -->
<html xmlns="http://www.
<link href="css.css" rel="stylesheet" type="text/css">
<head>
<meta name="description" content="紫蝶轩留言本">
<meta name="keywords" content="紫蝶轩流言本,紫蝶轩留言本,紫蝶轩流言本,紫碟轩留言本,紫蝶轩论坛,紫蝶吧,紫蝶吧论坛,紫蝶bbs,紫蝶轩,ksmy,小飞,王小飞,阿飞,飞♂非→飛,飛,紫蝶论坛网站,紫蝶论坛起源论坛,源码下载,源码,下载,免费论坛,四川省论坛,成都论坛,aspbbs,aspksmy,ksmyasp,asp论坛,简易bbs,简易论坛,bbs程序,小型论坛,小型bbs,精简论坛,精简bbs,小型留言本,大型留言本,中小型留言本,fly.,wangxiaofei,
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title><%=webname%></title>
</head>
<body>
<div align="center">
<script language=Javascript>
<!--这是全选-->
function checkAll(e, itemName)
{
 var aa = document.getElementsByName(itemName);
 for (var i=0; i<aa.length; i++)
 aa[i].checked = e.checked;
}
function checkItem(e, allName)
{
 var all = document.getElementsByName(allName)[0];
 if(!e.checked) all.checked = false;
 else
 {
 var aa = document.getElementsByName(e.name);
 for (var i=0; i<aa.length; i++)
 if(!aa[i].checked) return;
 all.checked = true;
 }
}
</script>
<%
'---------------------------读取保存记录-----------------------------
dim cookiesname,cookiespass
cookiesname=request.cookies("denglu")("a_name")
cookiespass=request.cookies("denglu")("a_pass")
%>

<!----------------菜单------------------->
<div id="menu" >
    <ul>
        <li>欢迎你:<font color="#FF0000"><%if session("user")="" then response.Write("游客") else response.Write(session("user"))         end if%> </font>&nbsp;&nbsp;&nbsp;</li>
        <% if session("user")="" then%>   
          </li>
           <li><a href="login.asp" target="_self">登陆</a>
        </li>
           <li class="menuDiv"></li>
           <li><a href="reg.asp">注册</a></li>
           <li class="menuDiv"><%else%>
        <li>
        <a href="useredit.asp?user=<%=session("user")%>" target="_self">资料修改</a><a href="search.asp" target="_self"></a>                         </li>
        <li class="menuDiv"><%end if%></li>
           <li><a href="search.asp" target="_self">搜索</a></li>
          <li class="menuDiv"></li>
        <li><a href="user.asp" target="_self">用户</a></li>
        <li class="menuDiv"></li>
        <li><a href="search.asp?sl=1&s_id=<%if session("user")<>"" then response.Write(session("user"))else response.Write("游客")              end if%>">个人文集</a>
        </li>
           <li class="menuDiv"></li>
           <li><a href="help.asp" target="_self">帮助</a></li>
    </ul>
</div>

<!----------------快速登陆区域------------------->
<%if session("user")="" then%>
  <div id="login">
    <form id="form1" name="form1" method="post" action="login.asp">
      &nbsp; 快速登陆&nbsp; 账号:
        <input name="a_name" type="text" id="a_name" value="<%=cookiesname%>" size="20" />
        &nbsp; 密码:
      <input name="a_pass" type="password" id="a_pass" value="<%=cookiespass%>" size="20" />
      <select name="cookiedate" id="cookiedate">
        <option value="0" selected>不保存</option>
        <option value="1">保存一天</option>
        <option value="2">保存一月</option>
        <option value="3">保存一年</option>
      </select>
      <input name="submit" type="submit" class="buttom" id="submit"  value="登  陆" />
    </form>
  </div>
<%else%>
  <div id="login">
    <form id="form1" name="form1" method="post" action="login.asp">
         &nbsp;&nbsp;帐号:<%response.Write(session("user")) %> &nbsp;&nbsp;
<%
select case session("zdqx")
case "user"
response.Write("等级:会员&nbsp;&nbsp;你可以执行以下操作:发表留言、回复留言。")
case "admin"
response.Write("等级:管理员&nbsp;&nbsp;你可以执行以下操作:审核、回复、屏蔽、精华、置顶。")
case "alladmin"
response.Write("等级:超级管理员 &nbsp;&nbsp;<a href='admin.asp' target='_blank'><font color='#FF0000'>登陆后台</font></a>")
end select
%>
 <input name="Submit" type="submit"  class="buttom" id="Submit" value="注  销" />
</form>
<%END IF%>
<!----------------分类显示------------------->
<div id="menu">
  <ul>
      <li>分类:</li>
       <li class="menuDiv"></li>
    <%
    set rs1=server.createobject("adodb.recordset")
    exec3="select * from zdfl "
    rs1.open exec3,conn,1,1
    do while not rs1.eof
    %>
            <li><a href="search.asp?sl=4&fl=<%=rs1("f_id")%>"><%=rs1("f_name")%></a></li>
        <li class="menuDiv"></li>
    <%
    rs1.movenext
    loop
    rs1.close
    set rs1=nothing
    %>
  </ul>
</div>

<!----------------留言显示区域------------------->

<form action="admin_del.asp" method="post">
<div id="content">
   
    <div id="contentmenu">
        <div id="contentmenu1"><a href="add.asp"><font color="#FF0000"><b>发表新主题</b></font></a></div>
        <div id="contentmenu2">主题</div>
        <div id="contentmenu1">作者</div>
        
    </div>
<%
set rsi=server.createobject("adodb.recordset")
exec1="select * from zdi where m_con=0 order by m_ding desc,m_uptime desc"
rsi.open exec1,conn,1,1
if not rsi.bof and not rsi.eof then
dim page
if request("page")="" then   
page=1  
else
page=cint(request("page"))      
end if
rsi.pagesize=webNum  '每页显示N条记录
rsi.absolutepage=page
dim i
i=rsi.pagesize
end if

    do while not rsi.eof and i>0
    i=i-1
    set rsfl=server.createobject("adodb.recordset")
    exec2="select * from zdfl where f_id="&rsi("m_flid")
    rsfl.open exec2,conn,1,1%>
<div id="content1menu" >
  <div id="content1menu1">【<a href="search.asp?sl=4&fl=<%=rsfl("f_id")%>" target="_blank"><%=rsfl("f_name")%></a>】</div>
  <div id="content1menu2">&nbsp;

    <%if session("zdqx")="alladmin" then%>
    <input name="del" type="checkbox" id="del" value="<%=rsi(    "m_id")%>" onClick="checkItem(this, 'mmAll')" />


    <%end if%>
   





<a href="view.asp?id=<%=rsi("m_id")%>"target="_blank"><%=rsi("m_bt")%></a>
   <% if now-rsi("m_time")<0.5 then response.Write(" <img src='images/new.gif'>")%>

    </div>
  <div id="content1menu1" ><%=rsi("m_user")%></div>

</div>

<%
     rsi.movenext
    loop
%>
<br>
<!----------------留言翻页批量删除------------------->
    <div id="contentpage">
        <div id="contentpage1">
        <a href="index.asp?page=1<%if request.QueryString("id")<>"" then response.Write("&id="&request.QueryString("id"))%>">首页</a>
        </div>
        <div id="contentpage1">
        <%if not page="1" then%>
      <a href="index.asp?page=<%=page-1%><%if request.QueryString("id")<>"" then response.Write("&id="&request.QueryString("id"))%>">上一页</a><%else response.Write("上一页") end if%>
          </div>
        <div id="contentpage1">
    <%if not page=rsi.pagecount then%>
      <a href="index.asp?page=<%=page+1%><%if request.QueryString("id")<>"" then response.Write("&id="&request.QueryString("id"))%>">下一页</a><% else response.Write("下一页") end if%>
          </div>
        <div id="contentpage1"><a href="index.asp?page=<%=rsi.pagecount%><%if request.QueryString("id")<>"" then response.Write("&id="&request.QueryString("id"))%>">末页</a>
        </div>
        <div id="contentpage1"><font color="#FF0000"><%=page%></font>/<%=rsi.pagecount%></div>
        <div id="contentpage1">
        <select name="select3" onChange="if(this.options[this.selectedIndex].value!=''){location=this.options[this.selectedIndex].value;}"><% for t = 0 to rsi.pagecount-1%><option value="index.asp?page=<%=t+1%>" <%if t+1=page then%>selected<%end if%>><%=t+1%></option><%next%></select>        
          </div>
        <%if session("zdqx")="alladmin" then%>
        <div id="contentpage1"><input type=checkbox name=mmAll onClick="checkAll(this, 'del')">全选</div>
        <div id="contentpage2">
        <input type="submit" name="Submit" class="buttom"  value=" 批量删除 ">
        </div>
        <%end if%>
    </div>
</div>
</form>


</div>
</body>
</html>

图片附件: 游客没有浏览图片的权限,请 登录注册
搜索更多相关主题的帖子: content include 留言本 
2012-06-18 17:53
玲珑880
Rank: 1
等 级:新手上路
帖 子:79
专家分:0
注 册:2008-4-16
收藏
得分:0 
老大帮忙我看一下 宽度 这些是用CSS  做的 帮忙看一下那错了
/*全站通用*/
body,td,th {
      margin-top:3 px;
      margin-bottom:3 px;
    font-size: 14px;
    scrollbar-face-color: #0099CC;
}
A:link
{
     COLOR: #000000; TEXT-DECORATION: none
}
A:visited
{
    COLOR: #000000; TEXT-DECORATION: none}
A:hover {
    COLOR: #0000FF; TEXT-DECORATION: underline}
A:active
{
    COLOR: #FF9900; TEXT-DECORATION: none
}

.dhzi
{
font-size:15px; color:#FFFFFF; font-weight:500
}
.biaogebiankuang {
    border: 1px solid #0099CC;
}
.putongziti
{
font-size:14px; color:#000000;
}
/*防止表格撑破*/
.A1{
width:500;
word-wrap:break-word;
word-break:break-all;
}
.A2{
width:200;
word-wrap:break-word;
word-break:break-all;
}
/*表格样式*/
.table1 {
    border: thin solid #0099CC;
}
.table2 {
    border: 3PX solid #0099CC;
}
.buttom{BACKGROUND-COLOR:   #2071a0;   BORDER-BOTTOM:   1px   double;   BORDER-LEFT:   1px   double;   BORDER-RIGHT:   1px   double;   BORDER-TOP:   1px   double;   COLOR:   #eeeeee;   TEXT-ALIGN:   center}
div img {
  margin-top: expression(( 30 - this.height ) / 2);
  }
/*页面头部*/
.biaoti
{
    FONT-SIZE: 40px;  COLOR: #ffffff; font-weight:500
}
#head{clear:both;width:800px;height:120px;padding:3px;border-color:#0099CC; border:3 px; border-style:solid;}
#head1{height:20px;background-color:#003366;}
#head2{height:80px;background-color:#0066CC;color:#FFFFFF;line-height:80px;text-align:center;font-size:36px;font-weight:bold;}  
#head3{height:20px;background-color:#0099CC;}  
/*页面底部*/
#bottom{CLEAR: both;width:800px;height:60px;padding:3px;border-color:#0099CC; border:3 px; border-style:solid ;}
#bottom1{height:60px;background-color:#0099CC;color:#FFFFFF;text-align:center;font-size:13px;line-height:20px;vertical-align:middle; }  
/*页面导航 分类*/
#menu {clear:both;width:800px;height:20px;padding:3px;border-color:#0099CC;border:3 px; border-style:solid;}
.menuDiv {width:1px;height:20px;background:#0099CC;}
#menu ul li {float:left;margin:0 5px;display:block;line-height:20px;font-size:14px;font-weight:bold;color:#666}
#menu ul li a:link,#menu ul li a:visited {font-weight:bold;color:#666;}
#menu ul li a:hover{}
/*留言版面*/
#content{width:800px; border:3px; border-style:solid;border-color:#0099CC;}
#contentwrite{text-align:right;height:25px;line-height:25px; margin-right:10px}
#contentmenu{WIDTH:100%;background-color:#0099CC;font-weight:bold;color:#ffffff;text-align:center;height:25px;line-height:25px;font-size:14px;}
#contentmenu1{float:left;WIDTH:12%;border-right : 1px solid #0099CC;}
#contentmenu2{float:left;WIDTH:44%;border-right : 1px solid #0099CC;}
#contentmenu3{float:left;WIDTH:10%;border-right : 1px solid #0099CC;}
#contentmenu4{float:left;WIDTH:5%;border-right : 1px solid #0099CC;}
#contentmenu6{float:left;WIDTH:23%;}
/*留言版面-留言循环*/
#content1menu{WIDTH:100%;color:#000000;text-align:center;border-bottom : 1px solid #0099CC;overflow :hidden;font-size:14px; line-height:30px;height:30px;
onmouseout: expression(onmouseout=function (){this.style.backgroundColor ='FFFFFF'});
onmouseover: expression(onmouseover=function (){this.style.backgroundColor ='#E1F8FF'});
}
#content1menu1{float:left;WIDTH:12%;border-right : 1px solid  #0099CC;}
#content1menu2{float:left;WIDTH:44%;border-right : 1px solid #0099CC;text-align:left;line-height:30px;height:30px;}
#content1menu3{float:left;WIDTH:10%;border-right : 1px solid #0099CC;}
#content1menu4{float:left;WIDTH:5%;border-right : 1px solid #0099CC;}
#content1menu5{float:left;WIDTH:23%;text-align:left; margin-left:5px}  
/*留言版面-留言翻页*/  
#contentpage{float:left;WIDTH:100%;color:#000000;text-align:center;height:20px;line-height:20px;font-size:12px;border-top : 1px solid #0099CC;border-right : 1px solid #0099CC;overflow :hidden;}
#contentpage1{float:left;WIDTH:5%;border-right: 1px solid #0099CC;}  
#contentpage2{float:left;WIDTH:10%;border-right: 1px solid #0099CC;}
2012-06-20 13:08
快速回复:老大们,那位帮忙一下啊
数据加载中...
 
   



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

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