<%
'<! *************************************************************
'程序名称：凹丫丫新闻发布管理系统

'程序作者：凹丫丫

'联系方式：e-mail:lovecswh@163.com  qq: 232706573 
'http://www.oyaya.cn

'*************************************************************** >
%>
<center>
<script language="JavaScript">
a = 3 
var slump = Math.random();
var talet = Math.round(slump * (a-1))+1;
function create() {
        this.src = ''
        this.border = ''
	this.alt = ''
	
}

b = new Array()
for(var i=1; i<=a; i++) { b[i] = new create() }
<!-- 改变下面三幅图像的名称-->
b[1].src    = "images/oyaya_title.gif"
b[1].border = "0"
b[1].alt    = ""

b[2].src    = "images/1.gif"
b[2].border = "0"
b[2].alt    = ""

b[3].src    = "images/2.gif"
b[3].border = "0"
b[3].alt    = ""
var visa = "";

visa += '<img src='+b[talet].src+' border="0"'+' alt='+b[talet].alt+'>';
</script>
<script language="JavaScript">
<!-- Hide this script from old browsers --
document.write(visa)
// -->
</script>
  <table width="900" height="35" border="0" align="center" cellpadding="0" cellspacing="0" background="images/menu-hbg.gif">
    <tbody>
      <tr>
        <td height="40" align="center"><a href="default.asp">首　页</a></td>
<% sqlt="select * from bigclass order by BigClassID"
set rst=server.createobject("ADODB.Recordset")
rst.open sqlt,conn,1,1
do while not rst.eof
%>          <td align="center">
			<%if rst("urlok")=true then%>
			<a href="<%=rst("url")%>" target="_blank"><%=rst("bigclassname")%></a>
			<%else%>
			<a href="otype.asp?classid=<%=rst("bigclassid")%>"><%=rst("bigclassname")%></a>
			<%end if%>
			</td>
<%
rst.movenext
loop
rst.close
set rst=nothing
%> 
        <td align="center"><a href="download.asp">下载中心</a></td>
        <td align="center"><a href="book.asp">访客留言</a></td>
      </tr>
    </tbody>
  </table>
  </center>