<!--#include file=conn.asp-->
<!--#include file=check_login.asp-->
<%
if request("aa")="删除" then
for each deleted in request("del")
sql="delete from news where id="&deleted 
conn.execute sql
next
%>
<script language="JavaScript">
<!--
	var message;
	message="新闻删除成功！"
	window.alert(message);
	parent.navigate("news.asp")
//-->
</script>
<%
end if
Set rs=Server.CreateObject("ADODB.Recordset")
sql="Select * from news order by id desc"
rs.open sql,conn,1,1
rs.pagesize=20
dim page
page=request("page")
if page="" then
page=1
rs.absolutepage=page
else
rs.absolutepage=page
end if
count=rs.pagesize
%>
<HTML>
<HEAD>
<TITLE>基·点空间设计管理系统</TITLE>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<STYLE type=text/css>P {
	FONT-SIZE: 12px; FONT-STYLE: normal
}
LI {
	FONT-SIZE: 12px; FONT-STYLE: normal
}
</STYLE>
<SCRIPT language=JavaScript>
<!--
function high(which2) { 
 theobject=which2 
 highlighting=setInterval("highlightit(theobject)",100) 
 } 
 function low(which2){ 
 clearInterval(highlighting) 
 which2.filters.alpha.opacity=40 
 } 
 function highlightit(cur2){ 
 if (cur2.filters.alpha.opacity<100) 
 cur2.filters.alpha.opacity+=13 
 else if (window.highlighting) 
 clearInterval(highlighting) 
 }
//-->
</SCRIPT>
<META content="Microsoft FrontPage 5.0" name=GENERATOR>
<link href="../css.css" rel="stylesheet" type="text/css">
</HEAD>
<BODY 
text=#000000 bgColor=#ffffff leftMargin=0 topMargin=0 marginheight="0" 
marginwidth="0">
<TABLE width=778 border=0 align="center" cellPadding=0 cellSpacing=0 class="border4">
  <TBODY>
    <TR> 
      <TD height=61 colspan="2" align=left vAlign=top> 
        <TABLE height=60 cellSpacing=0 cellPadding=0 width="100%" bgColor=#ffffff 
      border=0>
          <TBODY>
            <TR> 
              <TD vAlign=bottom> 
                <!--#include file=menu.asp-->
              </TD>
            </TR>
          </TBODY>
        </TABLE>
      </TD>
    </TR>
    <TR> 
      <TD width=181 align=left vAlign=top class="bordright"> 
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr> 
            <td width="98%" align="center" background="/image/bgbody.gif"><a href="/servers.asp">我们的服务项目</a></td>
            <td width="2%" align="center" background="image/bgbody.gif"><img src="/image/bgbody.gif" width="4" height="37"></td>
          </tr>
          <tr> 
            <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td background="/image/bg.gif"><img src="image/spacer.gif" width="1" height="1"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td align="center" background="/image/bgbody.gif"><a href="/designlch.asp">我们的设计流程</a></td>
            <td align="center" background="image/bgbody.gif"><img src="/image/bgbody.gif" width="4" height="37"></td>
          </tr>
          <tr> 
            <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td background="/image/bg.gif"><img src="image/spacer.gif" width="1" height="1"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td align="center" background="/image/bgbody.gif" class="bord"><a href="/works_show.asp">我们的优秀作品</a></td>
            <td align="center" background="image/bgbody.gif" class="bord"><img src="/image/bgbody.gif" width="4" height="37"></td>
          </tr>
          <tr> 
            <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td background="/image/bg.gif"><img src="image/spacer.gif" width="1" height="1"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td align="center" background="/image/bgbody.gif"><a href="/guestbook/index.asp">客户留言与反馈</a></td>
            <td align="center" background="image/bgbody.gif"><img src="/image/bgbody.gif" width="4" height="37"></td>
          </tr>
          <tr> 
            <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td background="/image/bg.gif"><img src="image/spacer.gif" width="1" height="1"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td align="center" background="/image/bgbody.gif"><a href="/order.asp">进入网上订单</a></td>
            <td align="center" background="image/bgbody.gif"><img src="/image/bgbody.gif" width="4" height="37"></td>
          </tr>
          <tr> 
            <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td background="/image/bg.gif"><img src="image/spacer.gif" width="1" height="1"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td align="center" background="/image/bgbody.gif"><a href="/contactus.asp">我们的联系方法</a></td>
            <td align="center"><img src="/image/bgbody.gif" width="4" height="37"></td>
          </tr>
          <tr> 
            <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr> 
                  <td background="/image/bg.gif"><img src="image/spacer.gif" width="1" height="1"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td colspan="2"><img src="/image/spacer.gif" width="180" height="1"></td>
          </tr>
          <tr> 
            <td colspan="2"><img src="/image/spacer.gif" width="1" height="150"> 
            </td>
          </tr>
        </table></TD>
      <TD width="588" vAlign=top class="mar1"> 
        <TABLE cellSpacing=0 cellPadding=0 border=0>
          <TBODY>
            <TR> 
              <TD vAlign=top>&nbsp; </TD>
            </TR>
          </TBODY>
        </TABLE>
        <table cellspacing=0 cellpadding=4 width="100%" border=0>
          <tbody>
            <tr> 
              <td width="100%" valign=center>&nbsp;　<font color="#990000"> 当前位置→</font><font color="#800000">基·点空间设计新聞管理</font></td>
            </tr>
            <tr> 
              <td valign=center> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <form name="form1" method="post" action="">
                    <%do while not rs.eof and count>0%>
                    <tr> 
                      <td width="30" align="center"> <input name="del" type="checkbox" class="inpno" value=<%=rs("id")%>> 
                      </td>
                      <td width="500"><a href=modify_news.asp?id=<%=rs("id")%>>标題：<%=rs("theme")%> 更新时间：[ <%=rs("sj")%> ] </a></td>
                    </tr>
                    <%     
    rs.movenext     
    count=count-1     
    loop     
  %>
                    <tr> 
                      <td colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr> 
                            <td class="mar1"> 
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr> 
                                  <td width="200" align="center"> <input type="submit" name="aa" value="删除" class="input"> 
                                  </td>
                                  <td> <input type="button" name="Submit3" value="添加新闻" class="input" onClick="location.href='add_news.asp'"> 
                                  </td>
                                </tr>
                              </table></td>
                          </tr>
                        </table></td>
                    </tr>
                  </form>
                </table>
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <form name="form2" method="post" action="news.asp">
                    <tr> 
                      <td align="right">共<font color=#B08291><b><%=rs.pagecount%></b></font>页 当前第<font color=#B08291><b><%=page%></b></font>页 <a href="news.asp?page=1">首页</a> 
                        <%if page>1 then%> <a href=news.asp?page=<%=page-1%>>上一頁</a> 
                        <%else%>
                        上一页
<%end if%> <%if page<rs.pagecount   then%> <a href=news.asp?page=<%=page+1%>>下一頁</a> 
                        <%else%>
                        下一页
<%end if%> <a href=news.asp?page=<%=rs.pagecount%>>尾页</a> 
                        <select name="page" class="input">
                          <%for i=1 to rs.pagecount%>
                          <option value=<%=i%>>第<%=i%>页</option>
                          <%next%>
                        </select> <input type="submit" name="Submit2" value="前往" class="input"> 
                      </td>
                    </tr>
                  </form>
                </table></td>
            </tr>
          </tbody>
        </table></TD>
    </TR>
    <TR> 
      <TD colspan="2" align=left vAlign=top><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr align="center" bgcolor="#E7E7E7"> 
            <td colspan="2" class="bord"> <p class="mar"><a href="#">联系方式</a> 
                　　<a href="#">技术支持</a>　　 <a href="#">本站信息</a>　 　<a href="#">诚邀加盟</a>　　　<a href="#">网站管理</a></p></td>
          </tr>
          <tr bgcolor="#E7E7E7"> 
            <td colspan="2"><table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC">
                <tr> 
                  <td width="58%"><img src="image/spacer.gif" width="1" height="1"></td>
                  <td width="15%" bgcolor="#D3CB81"><img src="image/spacer.gif" width="1" height="1"><img src="image/spacer.gif" width="1" height="1"></td>
                  <td width="13%" bgcolor="#CBB6E0"><img src="image/spacer.gif" width="1" height="4"></td>
                  <td width="14%" bgcolor="#BA4B91"><img src="image/spacer.gif" width="1" height="1"></td>
                </tr>
              </table></td>
          </tr>
          <tr> 
            <td width="20%">　</td>
            <td width="80%">&copy; Copyrights by <a href="http://www.gosj.cn">基·点空间设计</a>. All rights reserved.<br>
地址：晓港西马路28号　　　电话：020-61003038&nbsp;&nbsp; 售后服务：020-61003038<br>
<a href="mailto:hugowujiying@163.com">邮箱：hugowujiying@163.com</a>&nbsp;&nbsp; Q Q:109144485（拒绝闲聊）&nbsp;&nbsp; 策划制作：<a href="http://www.1000stu.cn">千年网络科技</a></td>
          </tr>
        </table></TD>
    </TR>
  </TBODY>
</TABLE>
</BODY></HTML>
