⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 index.asp

📁 简洁清爽的网站管理管理系统,基本功能都具备了
💻 ASP
字号:
<!--#include file="Inc/syscode.asp" -->
<!--#include file="inc/Skin_CSS.asp"-->
<%
function cutstr(tempstr,tempwid)
if len(tempstr)>tempwid then
cutstr=left(tempstr,tempwid)&"..."
else
cutstr=tempstr
end if
end function%>
<!-- #include file="Head.asp" -->
<table width="767" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="202" valign="top"><!--#include file="left_product.asp" --></td>
    <td width="6" bgcolor="#FFFFFF"> </td>
    <td valign="top">
      <table width="556" border="0" cellpadding="0" cellspacing="0" background="Images/81235959_dj_bg.gif">
        <tr>
          <td width="49%" height="28"><img src="Images/81235959_dj.gif" width="143" height="34"></td>
          <td width="51%" align="right"><img src="Images/81235959_dj_w.gif" width="6" height="34"></td>
        </tr>
      </table>
      <table width="556" border="0" cellpadding="0" cellspacing="0" background="Images/81235959_dj_gbg.gif">
        <tr>
          <td><!--#include file="NewsProducts.asp" --></td>
        </tr>
        <tr>
          <td valign="bottom"><img src="Images/81235959_dj_tb.gif" width="556" height="6"></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="6">&nbsp;</td>
        </tr>
      </table>
      <table width="100%"  border="0" cellspacing="2" cellpadding="0">
        <tr>
          <td valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="0">
              <tr>
                <td><table width="95%"  border="0" align="right" cellpadding="0" cellspacing="3">
                    <tr>
                      <td width="90%"><img src="Images/newsdd.gif" width="88" height="18"></td>
                      <td width="10%"><div align="right"><a href="otype.asp?owen1=&#20225;&#19994;&#26032;&#38395;"><img src="Images/more22.gif" width="41" height="18" border="0"></a></div></td>
                    </tr>
                    <tr bgcolor="#ADBAD6">
                      <td height="1" colspan="2"></td>
                    </tr>
                </table></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td height="90" colspan="2"><div align="center"><img src="Images/news1.gif" width="102" height="79"> </div></td>
                      <td width="75%" colspan="2"><%
                        set rs_news=server.createobject("adodb.recordset")
                        sqltext4="select top 5 * from news where BigClassName='企业新闻' order by id desc"
                        rs_news.open sqltext4,conn,1,1				 	
                        %>
                        <table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr>
                            <td width="7%" height="8"></td>
                            <td width="93%"></td>
                          </tr>
                          <%i=0
                          do while not rs_news.eof%>
                          <tr align="center">
                            <td><img src="Img/list2.gif" width="9" height="11"> </td>
                            <td style='BORDER-bottom: #EEEEEE 1px dotted'><div align="left">
                                <p style='line-height:150%'><a href="shownews.asp?id=<%=rs_news("id")%>" target="_blank"> <%=cutstr(rs_news("title"),22)%></a><br>
                                                    </div></td>
                          </tr>
                          <%rs_news.movenext
						  i=i+1
						  if i=5 then exit do
						  loop
						  rs_news.close %>
                          <tr>
                            <td height="8"></td>
                            <td></td>
                          </tr>
                        </table></td>
                    </tr>
                    <tr>
                      <td colspan="2"> </td>
                      <td colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td><div align="right"></div></td>
                          </tr>
                      </table></td>
                    </tr>
                  </table>
                </td>
              </tr>
          </table></td>
          <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td><table width="95%"  border="0" align="right" cellpadding="0" cellspacing="3">
                <tr>
                  <td width="90%"><img src="Images/newss.gif" width="88" height="18"></td>
                  <td width="10%"><div align="right"><a href="yenews.asp"><img src="Images/more22.gif" width="41" height="18" border="0"></a></div></td>
                </tr>
                <tr bgcolor="#ADBAD6">
                  <td height="1" colspan="2"></td>
                </tr>
              </table></td>
            </tr>
            <tr>
              <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td height="90" colspan="2"><div align="center"><img src="Images/news2.gif" width="102" height="79"> </div></td>
                  <td width="75%"><%
						set rs_news=server.createobject("adodb.recordset")
						sqltext4="select top 5 * from news where BigClassName='技术文章' order by id desc"
						rs_news.open sqltext4,conn,1,1
						%>
                    <table width="100%" border="0" cellspacing="1" cellpadding="0">
                      <tr>
                        <td width="6%" height="8"></td>
                        <td width="94%"></td>
                      </tr>
                      <%i=0
do while not rs_news.eof%>
                      <tr align="center">
                        <td><img src="Img/list2.gif" width="9" height="11"> </td>
                        <td style='BORDER-bottom: #EEEEEE 1px dotted'><div align="left">
                            <p style='line-height:150%'><a href="shownews.asp?id=<%=rs_news("id")%>" target="_blank"> <%=cutstr(rs_news("title"),20)%></a> <br>
                                            </div></td>
                      </tr>
                      <%rs_news.movenext
i=i+1
if i=5 then exit do
loop
rs_news.close %>
                      <tr>
                        <td height="8"></td>
                        <td></td>
                      </tr>
                    </table></td>
                </tr>
                <tr>
                  <td colspan="2"> </td>
                  <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><div align="right"></div></td>
                      </tr>
                  </table></td>
                </tr>
              </table></td>
            </tr>
          </table>            </td>
        </tr>
      </table>
    </td>
  </tr>
</table>
<!-- #include file="Inc/Foot.asp" -->
<map name="Map">
  <area shape="rect" coords="18,14,69,24" href="News.asp">
</map>
</BODY></HTML>
<!--网站系统交易网:www.csys.com.cn-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -