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

📄 index.asp

📁 全新后台新闻编辑器 2.全新后台下载编辑器 3.增加图片友情链接管理功能 4.JMail在线发送邮件,支持在线导出Email 5.新增在后台网站配置中指定网站首页新闻条数 6.后台
💻 ASP
字号:
<!--#include file="Inc/syscode.asp" -->
<!--#include file="head.asp" -->
<!--#include file="Inc/Top.asp"-->
<!--#include file="Inc/Eshopcode.asp"-->
<%
function cutstr(tempstr,tempwid)
if len(tempstr)>tempwid then
cutstr=left(tempstr,tempwid)&"..."
else
cutstr=tempstr
end if
end function%>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center" valign="top"><table width="850" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="30" valign="top" background="img/cont_left_bg01.gif"><img src="img/cont_left_img01.gif" width="30" height="431"></td>
        <td style="padding-top:9px; " width="787" valign="top"><table width="787" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="207" align="left" valign="top" class="top_m_txt01"><table width="200" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td valign="top"><table width="200" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img src="img/left_cp_tit.gif" width="200" height="67"></td>
                  </tr>
                  <tr>
                    <td height="142" align="center" valign="top" background="img/left_bg01.gif"><% call ShowSmallClass_Tree() %></td>
                  </tr>
                  <tr>
                    <td><img src="img/left_img01.gif" width="200" height="20"></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><table width="200" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="63" valign="bottom"><img src="img/left_tc_tit.gif" width="200" height="51"></td>
                  </tr>
                  <tr>
                    <td height="182" align="center" background="img/left_bg02.gif"><iframe width="190" height="178" src="ttpp/vote.asp?id=32" frameborder="0" scrolling=no></iframe>
                    </object></td>
                  </tr>
                  <tr>
                    <td><img src="img/left_img02.gif" width="200" height="8"></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td valign="top"><table width="188" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="60" align="right" valign="bottom"><a href="about.asp"><img src="img/left_img04.gif" width="175" height="47" border="0"></a></td>
                  </tr>
                  <tr>
                    <td height="51" align="right" valign="bottom"><a href="Culture.asp"><img src="img/left_img05.gif" width="175" height="47" border="0"></a></td>
                  </tr>
                  <tr>
                    <td height="51" align="right" valign="bottom"><a href="Honor.asp"><img src="img/left_img06.gif" width="175" height="47" border="0"></a></td>
                  </tr>
                  <tr>
                    <td height="70" align="left" valign="bottom"><a href="Contact.asp"><img src="img/xsrx_img.gif" width="185" height="51" border="0"></a></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
            <td valign="top"><table width="580" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="img/cont_img01.gif" width="580" height="17"></td>
              </tr>
              <tr>
                <td valign="top"><table width="580" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td width="9" background="img/cont_tbl01_bg01.gif"></td>
                    <td valign="top"><table width="562" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td valign="top"><table width="562" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td align="center"><table width="544" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td><img src="img/cont_tit01.gif" width="485" height="32"></td>
                                <td><a href="Product.asp"><img src="img/cont_tbl01_img01.gif" width="39" height="32" border="0"></a></td>
                                <td><img src="img/cont_tbl01_img02.gif" width="20" height="32"></td>
                              </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td height="180" align="center" valign="top"><!--#include file="NewsProduct.asp"--></td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td align="center" valign="top"><table width="544" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td width="294" align="left" valign="top"><table width="271" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td height="39" valign="top"><img src="img/gsjs.gif" width="271" height="32"></td>
                              </tr>
                              <tr>
                                <td><table width="271" border="0" cellspacing="0" cellpadding="0">
                                  <tr>
                                    <td><img src="img/cont_tbl02_img01.gif" width="271" height="19"></td>
                                  </tr>
                                  <tr>
                                    <td height="148" align="center" valign="top" background="img/cont_tbl02_bg01.gif"><table width="245" border="0" cellspacing="0" cellpadding="0">
                                      <tr>
                                        <td height="208" valign="top"><SPAN 
                        class=Glow><%=lingdao%></SPAN></td>
                                      </tr>
                                    </table></td>
                                  </tr>
                                  <tr>
                                    <td><img src="img/cont_tbl02_img02.gif" width="271" height="14"></td>
                                  </tr>
                                </table></td>
                              </tr>
                            </table></td>
                            <td valign="top"><table width="250" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <td><img src="img/znxw_tit.gif" width="250" height="54"></td>
                              </tr>
                              <tr>
                                <td height="202" align="center" valign="top" background="img/znxw_bg.gif" style="padding-top:10px; padding-bottom:10px; ">
								                        <%
set rs_news=server.createobject("adodb.recordset")
sqltext4="select top 7 * from news where BigClassName='站内新闻' order by id desc"
rs_news.open sqltext4,conn,1,1				 	
%>
								<table width="218" border="0" cellspacing="0" cellpadding="0">
                                  <%i=0
do while not rs_news.eof%>
                                  <tr align="center">
                                    <td width="18" height="25" align="left"><img src="img/cont_new_bullet.gif" width="9" height="7"> </td>
                                    <td width="200" align="left">
                                        <a href="shownews.asp?id=<%=rs_news("id")%>" target="_blank" class="top_m_txt01"> <%=cutstr(rs_news("title"),15)%></a></td>
                                  </tr>
                                  <tr align="center">
                                    <td height="1" colspan="2" align="left"><img src="img/cont_new_line.gif" width="218" height="1"></td>
                                    </tr>
                                  <%rs_news.movenext
i=i+1
if i=7 then exit do
loop
rs_news.close %>
                                </table></td>
                              </tr>
                              <tr>
                                <td align="right" background="img/znxw_bg.gif"><a href="yenews.asp"><img src="img/more03.gif" width="76" height="9" border="0"></a></td>
                              </tr>
                              <tr>
                                <td><img src="img/znxw_img01.gif" width="250" height="15"></td>
                              </tr>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td align="center" valign="top"><table width="562" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td height="40" align="center" valign="bottom"><table width="544" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td><img src="img/cplb_tit.gif" width="485" height="32"></td>
                                  <td><a href="Products.asp"><img src="img/cont_tbl01_img01.gif" width="39" height="32" border="0"></a></td>
                                  <td><img src="img/cont_tbl01_img02.gif" width="20" height="32"></td>
                                </tr>
                            </table></td>
                          </tr>
                          <tr>
                            <td height="150" align="center" valign="top">
							 <%i=1 
set rs_Product=server.createobject("adodb.recordset")
sqltext="select top 5 * from Product where Passed=True And Elite=True order by UpdateTime desc"
rs_Product.open sqltext,conn,1,1				 	
%> 
							<table  width="517" border="0" cellpadding="0" cellspacing="0" class="top_m_txt01">
							  <tr >
                                <td width="34%" height="22"><div align="center">产品名称</div></td>
                                <td width="18%"><div align="center">规格</div></td>
                                <td width="9%"><div align="center">单位</div></td>
                                <td width="39%"><div align="center">备注</div></td>
							    </tr>
                              <tr >
                                <td height="1" colspan="4"><img src="img/line_bg.gif" width="517" height="1"></td>
                                </tr>
                              <%
do while not rs_Product.eof
%>
                              <% if i mod 2 =0 then%>
                              <tr>
                                <% end if %>
                                <td height="25"><a href="ProductShow.asp?ArticleID=<%=rs_Product("articleid")%>" target="_blank" class="top_m_txt01" ><%=cutstr(rs_Product("Title"),20)%></a></td>
                                <td><div align="center"><%=cutstr(rs_Product("Spec"),6)%></div></td>
                                <td><div align="center"><%=rs_Product("Unit")%></div></td>
                                <td><div align="left"><%=cutstr(rs_Product("Memo"),15)%></div></td>
                              </tr>
                              <tr>
                                <td height="1" colspan="4"><img src="img/line_bg.gif" width="517" height="1"></td>
                                </tr>
                              <% 
i=i+1
rs_Product.movenext 
loop 
rs_Product.close  
%>
                            </table></td>
                          </tr>
                        </table></td>
                      </tr>
                    </table></td>
                    <td width="9" background="img/cont_tbl01_bg01.gif"></td>
                  </tr>
                </table></td>
              </tr>
              <tr>
                <td><img src="img/cont_img02.gif" width="580" height="17"></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
        <td width="33" valign="top" background="img/cont_right_bg01.gif"><img src="img/cont_right_img01.gif" width="33" height="431"></td>
      </tr>
      <tr>
        <td valign="top"><img src="img/cont_di_img01.gif" width="30" height="29"></td>
        <td align="center" valign="middle" background="img/cont_di_bg01.gif" style="padding-top:9px; "><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="40%"><table width="313" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td width="57"><img src="img/yqlj_img01.gif" width="57" height="15"></td>
                  <td width="256"><MARQUEE
            align="left" width=230 scrollAmount=1 scrollDelay=4 class="top_m_txt01" onmouseover="this.stop()" onmouseout="this.start()">
                    <% call ShowAnnounce(5) %>
                  </MARQUEE></td>
                </tr>
            </table></td>
            <td width="60%" align="right" class="top_m_txt01"><script language="JavaScript" type="text/javascript" src="inc/site.asp?online=1&show=all"></script></td>
          </tr>
        </table></td>
        <td valign="top"><img src="img/cont_di_img02.gif" width="33" height="29"></td>
      </tr>
    </table></td>
  </tr>
</table>
<!--#include file="Inc/foot.asp"-->

⌨️ 快捷键说明

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