<?php include_once("top.php"); //获取头部文件 ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>BCTY365网上社区</title>
<link rel="stylesheet" type="text/css" href="css/style.css">
</head>
<script language="javascript">
function ld(){
change_img();
init();
}
</script>
<body onLoad="ld()">
<table width="870" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="220" rowspan="2" valign="top">
<table width="220" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="30" align="left"><img src="images/br_11(1).jpg" width="220" height="30"></td>
</tr>
<tr>
<td>
<table width="220" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#6EBEC7">
<tr>
<td width="218" align="right" bgcolor="#FFFFFF"> <div id=marquees >
<table width="200" height="25" border="0" align="center" cellpadding="0" cellspacing="0">
<?php
$sql=mysql_query("select id,title,createtime from tb_tell order by createtime desc limit 0,10",$conn);
$info=mysql_fetch_array($sql);
if($info==false){
?>
<tr>
<td height="25"><div align="center"><a href="#" class="a4">本站暂无公告发布! </a></div></td>
</tr>
<?php
}else{
$i=1;
do{
?>
<tr>
<td height="25" style="padding:4"><a href="tellinfo.php?id=<?php echo $info[id];?>" class="a1">
<?php
if($i==1)
{
echo "<font color=red>";
}
echo $i.". ";
echo unhtml(msubstr($info[title],0,50));
if(strlen($info[title])>50)
{
echo " ...";
}
echo "(".str_replace("-","/",$info[createtime]).")";
if($i==1)
{
echo "</font>";
}
?>
</a> </td>
</tr>
<?php
$i++;
}while($info=mysql_fetch_array($sql));
}
?>
</table>
</div> </td>
</tr>
</table>
<script language="JavaScript">
marqueesHeight=222;
stopscroll=false;
with(marquees){
style.width=0;
style.height=marqueesHeight;
style.overflowX="visible";
style.overflowY="hidden";
noWrap=true;
onmouseover=new Function("stopscroll=true");
onmouseout=new Function("stopscroll=false");
}
document.write('<div id="templayer" style="position:absolute;z-index:1;visibility:hidden"></div>');
preTop=0; currentTop=0;
function init(){
templayer.innerHTML="";
while(templayer.offsetHeight<marqueesHeight){
templayer.innerHTML+=marquees.innerHTML;
}
marquees.innerHTML=templayer.innerHTML+templayer.innerHTML;
setInterval("scrollup()",50);
}
//document.body.onload=init;
function scrollup(){
if(stopscroll==true) return;
preTop=marquees.scrollTop;
marquees.scrollTop+=1;
if(preTop==marquees.scrollTop){
marquees.scrollTop=templayer.offsetHeight-marqueesHeight;
marquees.scrollTop+=1;
}
}
</script></td>
</tr>
<tr>
<td height="30"><div align="center"><img src="images/bg_11(2).jpg" width="220" height="30"></div></td>
</tr>
<tr>
<td><table width="220" border="1" align="center" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#6EBEC7">
<tr>
<td height="38" bgcolor="#FFFFFF"><table width="215" height="22" border="0" align="center" cellpadding="0" cellspacing="0">
<?php
$sqluwz=mysql_query("select * from tb_soft order by addtime desc limit 0,7",$conn);
$infouwz=mysql_fetch_array($sqluwz);
if($infouwz==false){
?>
<tr>
<td width="20" height="22"><div align="center"><img src="images/mark_0.gif" width="3" height="3" /></div></td>
<td width="200"> 暂无软件提供下载!</td>
</tr>
<?php
}else{
$i=1;
do{
?>
<tr>
<td width="20" height="22"><div align="center"><img src="images/mark_0.gif" width="3" height="3" /></div></td>
<td width="200" height="22" style="padding:5"><a href="softinfo.php?id=<?php echo $infouwz["id"];?>" class="a1">
<?php
if($i==1)
{
echo "<font color=red>";
}
echo unhtml(msubstr($infouwz["softname"],0,16));
if(strlen($infouwz["softname"])>16)
{
echo " .";
}
echo "<font color=red>[".substr(str_replace("-","/",$infouwz[addtime]),0,10)."]</font>";
if($i==1)
{
echo "</font>";
}
?>
</a> </td>
</tr>
<tr>
<td height="1" colspan="2" background="images/line_1.gif"></td>
</tr>
<?php
$i++;
}while($infouwz=mysql_fetch_array($sqluwz));
}
?>
</table> </tr>
</table></td>
</tr>
</table> </td>
<td width="8" rowspan="2"></td>
<td width="642" height="30"><img src="images/bg_11(3).jpg" width="642" height="30"></td>
</tr>
<tr>
<td align="center" valign="top" bgcolor="#FFFFFF"><script language='javascript'>
isns = navigator.appName == "Netscape";
img1=new Image()
img2=new Image()
img3=new Image()
img4=new Image()
img5=new Image()
img1.src='images/bccdimages/b1.gif'
img2.src='images/bccdimages/b2.gif'
img3.src='images/bccdimages/b3.gif'
img4.src='images/bccdimages/b4.gif'
img5.src='images/bccdimages/b5.gif'
nn=1
function change_img()
{
eval('document.image.src=img'+nn+'.src');
nn++;
if(nn>5) nn=1
if(!isns)
{
image.filters.item(0).apply()
image.style.visibility='visible'
image.filters.item(0).play()
setTimeout("image.style.visibility='hidden'",5000);
}
else
document.image.visibility='visible'
tt=setTimeout('change_img()',5000)
}
</script>
<table width="642" border="1" cellpadding="1" cellspacing="1" bordercolor="#FFFFFF" bgcolor="#6EBEC7">
<tr>
<td bgcolor="#FFFFFF">
<table width="635" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="210" align="center" valign="middle" bgcolor="#FFFFFF"><script language='javascript'>
isns = navigator.appName == "Netscape";
img1=new Image()
img2=new Image()
img3=new Image()
img4=new Image()
img5=new Image()
img1.src='images/bccdimages/b1.gif'
img2.src='images/bccdimages/b2.gif'
img3.src='images/bccdimages/b3.gif'
img4.src='images/bccdimages/b4.gif'
img5.src='images/bccdimages/b5.gif'
nn=1
function change_img()
{
eval('document.image.src=img'+nn+'.src');
nn++;
if(nn>5) nn=1
if(!isns)
{
image.filters.item(0).apply()
image.style.visibility='visible'
image.filters.item(0).play()
setTimeout("image.style.visibility='hidden'",5000);
}
else
document.image.visibility='visible'
tt=setTimeout('change_img()',5000)
}
</script>
<table width="610" height="200" border="0" cellpadding="0" cellspacing="0">
<tr>
<td valign="middle" bgcolor="#FFFFFF"><table width="610" height="170" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="175"><div align="center"><a href="morebccd.php"><img width="140" height="172" border="0" name="image" style='visibility:hidden;filter:revealtrans(duration=2.0,transition=12)'></a></div></td>
<td valign="top"><table width="420"