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

📄 index.asp

📁 政府部门网站
💻 ASP
📖 第 1 页 / 共 3 页
字号:
	end if
	if Request.cookies("reglevel")=1 then
rs3.Source ="select top " & top_img & " * from it_News where picnews=1 and checkked=1 and newslevel<=1 and picname<>null order by NewsID DESC"
	end if
end if
else
rs3.Source ="select top " & top_img & " * from it_News where picnews=1 and checkked=1 and picname<>null order by NewsID DESC"
end if
rs3.Open rs3.Source,conn,1,1
if not rs3.EOF then
while not rs3.EOF
fileExt=lcase(getFileExtName(rs3("picname")))
Content=rs3("Content")
content=replace(content,"[[","<")
content=replace(content,"]]",">")
%> 
            <table  width="100%" height="95%" align="center" background="img/tuwenbg.gif"valign="middle" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
              <!--DWLayoutTable-->
              <tr> 
                <td align="center" style="WORD-WRAP: break-word"><a class=middle href="showNews.asp?NewsID=<%=rs3("NewsID")%>" target=_blank title="<%=rs3("title")%>"> 
                  <%if fileext="jpg" or fileext="bmp" or fileext="png" or fileext="gif" then%>
                  <img  src="uploadfile/<%=rs3("picname")%>" width="133" height="100" class="border"> 
                  <%end if%>
                  <br>
                  <script>
//测字符串实际长度
String.prototype.Tlength = function(){var arr=this.match(/[^\x00-\xff]/ig);return this.length+(arr==null?0:arr.length);}

//字符串左取
String.prototype.left = function(num,mode){if(!/\d+/.test(num))return(this);var str = this.substr(0,num);if(!mode) return str;var n = str.Tlength() - str.length;num = num - parseInt(n/2);return this.substr(0,num);}
            
//开始左取			  
document.write("<%=rs3("title")%>".left(20,true));
//结束左取
</script>
                  </a></td>
              </tr>
            </table>
            <%
rs3.MoveNext
wend
else
Response.Write "<table width=""100%"" border=""0"" cellspacing=""0"" cellpadding=""0"" align=""center"" style=""TABLE-LAYOUT: fixed""><tr><td width=100% align=center height=18 bgcolor="& r_main &">暂无</td></tr></table>"
end if
rs3.close
set rs3=nothing

%></td>
        </tr>
        <tr> 
          <td height="107"></td>
          <td valign="top"><table  width="100%" height="95%" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
              <!--DWLayoutTable-->
              <tr> 
                <td width="189" height="105" align="center" valign="middle"><img src="img/index_shi.gif" width=182 height=100 alt=""></td>
              </tr>
            </table></td>
        </tr>
      </table></TD>
    <TD width="10" height="9"></TD>
    <TD width="3"></TD>
    <TD width="393"></TD>
    <TD width="3"></TD>
    <TD width="4"></TD>
    <TD width="1"></TD>
    <TD width="170"></TD>
    <TD width="4"></TD>
    <TD width="1"></TD>
  </TR>
  <TR> 
    <TD height="237"></TD>
    <TD colspan="3" valign="top"><table  width="100%" height="95%" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
        <!--DWLayoutTable-->
        <tr> 
          <td height="41" colspan="2"> <img src="img/index_new.gif" width=397 height=41 alt=""></td>
        </tr>
        <tr> 
          <td width="12" height="193"></td>
          <td width="385"  valign="middle" background="img/line1.gif"><script src=new.asp?typeid=7&shu=10></script></td>
        </tr>
        <tr> 
          <td height="1"></td>
          <td></td>
        </tr>
      </table></TD>
    <TD>&nbsp;</TD>
    <TD></TD>
    <TD valign="top"><table width="100%" height="100%" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
        <!--DWLayoutTable-->
        <tr> 
          <td width="168" height="90" valign="top"><img src="img/index_gonggao.gif" width=168 height=90 alt=""></td>
        </tr>
        <%
set rs=server.CreateObject("ADODB.RecordSet") 
rs.Source="select * from board where inuse=1"
rs.Open rs.Source,conn,1,1
if not rs.EOF then
%>
        <tr> 
          <td height="132" align="center" valign="middle"><script language=JavaScript>marquee1();</script> 
            <%=rs("content")%> <script language=JavaScript>marquee2();</script> <a href="board.asp" target="_blank">以前公告</a></td>
        </tr>
        <tr> 
          <%else
     rs.close
      set rs=nothing
      end if%>
          <td height="13"></td>
        </tr>
        <!--DWLayoutTable-->
      </table></TD>
    <TD></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD height="42">&nbsp;</TD>
    <TD COLSPAN=7 valign="top"><table width="100%" border="0" cellpadding="0" background="img/index_suo.gif" cellspacing="0">
        <!--DWLayoutTable-->
        <tr> 
          <td width="195" height="42" valign="top"><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td width="383" valign="middle"> 
            <!--#include file=search1.asp-->
          </td>
        </tr>
      </table></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD height="6"></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD colspan="3" ROWSPAN=6 align="center" valign="middle"><img src="img/index_feng.gif" width=166 height=313 alt=""></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD colspan="3" ROWSPAN=4 valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr> 
          <td width="5" height="1"></td>
          <td width="191"></td>
        </tr>
        <tr> 
          <td height="232"></td>
          <td valign="top"><table width="100%" height="100%" align="center" valign="middle" background="img/daobg.gif" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
              <!--DWLayoutTable-->
              <tr> 
                <td width="189" height="31"><img src="img/index_dao.gif" width=189 height=31 alt=""></td>
              </tr>
              <tr> 
                <td height="199"><script src=new.asp?order=click&shu=8></script></td>
              </tr>
            </table></td>
        </tr>
        <tr> 
          <td height="9"></td>
          <td></td>
        </tr>
      </table></TD>
    <TD height="12"></TD>
    <TD></TD>
    <TD colspan="2" rowspan="3" valign="top"><table width="100%" height="95%" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
        <!--DWLayoutTable-->
        <tr> 
          <td height="30" colspan="2"><img src="img/index_zhao.gif" width=394 height=30 alt=""></td>
        </tr>
        <tr> 
          <td width="13" height="200">&nbsp;</td>
          <td width="381" valign="top" background="img/line1.gif"><script src=new.asp?typeid=12&shu=10></script></td>
        </tr>
      </table></TD>
    <TD></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD height="40"></TD>
    <TD></TD>
    <TD></TD>
    <TD> <IMG SRC="images/spacer.gif" WIDTH=1 HEIGHT=40 ALT=""></TD>
  </TR>
  <TR> 
    <TD height="182"></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD height="8"></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD width="5" height="84"></TD>
    <TD colspan="2" rowspan="4" valign="top"><table width="100%" height="95%" align="center" valign="middle" border="0" background="img/biangb.gif" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
        <!--DWLayoutTable-->
        <tr> 
          <td height="31" colspan="2"><img src="img/index_bian.gif" width=189 height=31 alt=""></td>
        </tr>
        <tr> 
          <td width="93" height="92" align="center" valign="middle"><img src="img/11.gif" width=56 height=56 alt=""></td>
          <td width="96" align="center" valign="middle"><img src="img/12.gif" width=55 height=56 alt=""></td>
        </tr>
        <tr> 
          <td height="103" align="center" valign="middle"><img src="img/13.gif" width=55 height=56 alt=""></td>
          <td align="center" valign="middle"><img src="img/14.gif" width=56 height=56 alt=""></td>
        </tr>
      </table></TD>
    <TD></TD>
    <TD colspan="2" rowspan="4" valign="top"><table width="100%" height="95%" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
        <!--DWLayoutTable-->
        <tr> 
          <td height="30" colspan="2" valign="top"><img src="img/index_jingji.gif" width=394 height=30 alt=""></td>
        </tr>
        <tr> 
          <td width="14" height="197">&nbsp;</td>
          <td width="380" valign="top" background="img/line1.gif"><script src=new.asp?typeid=5&shu=10></script></td>
        </tr>
      </table></TD>
    <TD></TD>
    <TD></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD height="60"></TD>
    <TD></TD>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD colspan="3" valign="top"> <IMG SRC="img/index_16.gif" WIDTH=175 HEIGHT=60 ALT=""></TD>
    <TD>&nbsp;</TD>
  </TR>
  <TR> 
    <TD height="57"></TD>
    <TD></TD>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD colspan="3" valign="top"> <IMG SRC="img/index_17.gif" WIDTH=175 HEIGHT=57 ALT=""></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD height="28"></TD>
    <TD></TD>
    <TD></TD>
    <TD>&nbsp;</TD>
    <TD colspan="3" ROWSPAN=2 valign="top"> <IMG SRC="img/index_18.gif" WIDTH=175 HEIGHT=59 ALT=""></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD height="37"></TD>
    <TD width="3">&nbsp;</TD>
    <TD COLSPAN=5 ROWSPAN=2 valign="top"><table width="100%" border="0"  align="center" valign="middle"  cellpadding="0" cellspacing="0">
        <!--DWLayoutTable-->
        <tr> 
          <td width="597" height="103" align="center" valign="middle" ><img src="img/index_xuan.gif" width=597 height=90 alt=""></td>
        </tr>
      </table></TD>
    <TD></TD>
    <TD></TD>
  </TR>
  <TR> 
    <TD height="66">&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD>&nbsp;</TD>
    <TD colspan="3" valign="top"> <IMG SRC="img/index_20.gif" WIDTH=175 HEIGHT=66 ALT=""></TD>
    <TD>&nbsp;</TD>
  </TR>
  <TR> 
    <TD height="242"></TD>
    <TD COLSPAN=2 valign="top"><table width="100%" height="100%" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
        <!--DWLayoutTable-->
        <tr> 
          <td width="189" height="30"><img src="img/index_diao.gif" width=189 height=30 alt=""></td>
        </tr>
        <tr> 
          <%
		set rs=conn.execute("SELECT * FROM vote where IsChecked=1") 
		if rs.eof then
		%>
          <%else%>
          <td  align="center" valign="middle"><b> </b><%=rs("Title")%></td>
        </tr>
        <FORM action="admin/vote.asp" target="newwindow" method=post name=research>
          <tr> 
            <td  valign="middle" aling="center"><%
for i=1 to 8
	if rs("Select"&i)<>"" then
%> <INPUT style="border: 0" <%if i=1 then%>checked<%end if%> name=Options type=radio value=<%=i%>> 
              <%=i%>.<%=rs("Select"&i)%><BR> <%
	end if
next
%> </td>
          </tr>
          <tr> 
            <td  align="center"><INPUT style="cursor:hand" type=submit value="投它一票" id=submit1 name=submit1> 
              <INPUT onclick="javascript:vote()" type="button" value="查看结果" id=button1 name=button1 style="cursor:hand"> 
            </td>
          </tr>
          <tr> 
            <td >&nbsp;</td>
          </tr>
        </FORM>
        <%end if%>
      </table></TD>
    <TD></TD>
    <TD COLSPAN=2 valign="top"><table width="100%" height="95%" align="center" valign="middle" border="0" cellpadding="0" cellspacing="0" style="border: 1px solid #cccccc">
        <!--DWLayoutTable-->
        <tr> 
          <td width="394" height="33"><img src="img/index_daohang.gif" width=388 height=31 alt=""></td>
        </tr>
        <tr> 
          <td height="207" valign="middle"> <%
dim menuid1
dim menuname1
dim menucontent1
dim menuview1
set rs22=server.CreateObject("ADODB.RecordSet")
rs22.Source="select * from type where typeview=1 order by typeorder"
rs22.Open rs22.Source,conn,1,1
i=1

while not rs22.EOF

⌨️ 快捷键说明

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