截了个大图,请高手帮我看看,下面是CSS 
 
body { 
         
        margin: 0px; 
        padding: 0px 0px 16px 0px; 
        font-family: "宋体"; 
        font-size: 12px; 
} 
b { 
    font-weight: normal; 
} 
form { 
        display: inline; 
} 
h1,h2,h3,h4,h5,h6,p,ul,li,input,select,dl,dt,dd { 
    padding: 0px; 
        margin: 0px; 
} 
ul { 
        list-style-type: none; 
} 
.clear { 
        clear: both; 
} 
a { 
        color: #060; 
        text-decoration: none; 
} 
a:hover { 
        text-decoration: underline; 
} 
.showOrange { 
    color: #F60; 
} 
#topTools { 
BACKGROUND: url(011.gif) no-repeat;  
        height: 70px; 
        width: 980px; 
        margin: 0px auto; 
} 
#topTools h3 { 
        float: left; 
        font-size: 12px; 
        font-weight: normal; 
        color: #060; 
        padding-top: 75px; 
} 
#topTools h3 a{ 
        color: #fff; 
} 
#topTools p { 
        color: #FFF; 
        float: right; 
        padding: 10px 10px 0px 0px; 
} 
#bodyWrap { 
        width: 980px; 
        margin: 0px auto; 
 
        padding-bottom: 10px; 
        background: #FFF url("09bbs_138.gif") bottom no-repeat; 
} 
#header { 
        background: #FFF url("09bbs_03.gif") top no-repeat; 
        padding: 10px 10px 5px 10px; 
        height: 60px; 
} 
#logo { 
        float: left; 
        height: 10px; 
        width: 250px; 
        position: relative; 
} 
#logo h1 { 
        position: absolute; 
        top: 13px; 
        left: 0px; 
} 
#logo h1 a { 
        display: block; 
        height: 50px; 
        width: 165px; 
        text-indent: -9999px; 
        background: url("09bbs_12.gif") no-repeat 0px 0px; 
} 
#logo h2 { 
        position: absolute; 
        top: 24px; 
        left: 165px; 
        font-size: 14px; 
        color: #FF6C00; 
        width: 85px; 
        height: 16px; 
} 
#logo h3 { 
        position: absolute; 
        top: 43px; 
        left: 165px; 
        font-size: 12px; 
        font-weight: normal; 
        width: 85px; 
} 
#logo h3 a { 
        color: #999; 
} 
#topBanner { 
        float: left;; 
        height: 60px; 
        width: 500px; 
        text-align: right;         
} 
#vpAD { 
        float: left; 
        height: 70px; 
        width: 160px; 
} 
#nav { 
        border: 2px solid #4D821F; 
        margin: 0px 10px 8px 10px; 
        height: 78px; 
        background: #42731A url("09bbs_18.gif") repeat-x;  
} 
#nav dl { 
        float: left; 
        padding: 6px 2px 0px 25px; 
        height: 72px; 
        background: url("09bbs_24.gif") no-repeat 0px 6px; 
} 
#nav dt { 
        height: 30px; 
} 
#nav dt a { 
        display: block; 
        height: 19px; 
        text-indent: -9999px; 
} 
#nav dd { 
        float: left; 
        white-space: nowrap; 
        padding-right: 12px; 
        height: 20px;         
} 
#nav dd a { 
        color: #FFF; 
} 
#nav dl.navSS { 
        width: 252px; 
        padding-left: 20px; 
        background: none; 
} 
#nav dl.navXX { 
        width: 142px; 
} 
#nav dl.navDZH { 
        width: 132px; 
} 
#nav dl.navJLB { 
        width: 108px; 
} 
#nav dl.navZW { 
        width: 122px; 
} 
#nav dl.navSS dt a { 
        background: url("09bbs_21.gif") no-repeat 0px 0px; 
} 
#nav dl.navXX dt a { 
        background: url("09bbs_26.gif") no-repeat 0px 0px; 
} 
#nav dl.navDZH dt a { 
        background: url("09bbs_28.gif") no-repeat 0px 0px; 
} 
#nav dl.navJLB dt a { 
        background: url("09bbs_30.gif") no-repeat 0px 0px; 
} 
#nav dl.navZW dt a { 
        background: url("09bbs_32.gif") no-repeat 0px 0px; 
} 
.scrBox { 
        width: 960px; 
        margin: 0px 10px; 
} 
.scrL { 
        float: left; 
        width: 272px; 
} 
.scrM { 
        float: left; 
        width: 440px; 
        padding: 0px 8px; 
} 
.scrR { 
        float: left; 
        width: 232px; 
} 
.defBox { 
    border: 1px solid #D5E1C5; 
        background: #F3F9E3; 
        margin-bottom: 8px; 
} 
#slide { 
        height: 248px; 
        padding: 5px 5px 0px 5px; 
        text-align: left; 
} 
#slide img { 
        display: block; 
        height: 195px; 
        width: 260px; 
        margin-bottom: 20px; 
} 
#slide h3 { 
        font-size: 14px; 
        color: #360;         
} 
#slide h3 a { 
        color: #360;         
} 
#bbsBee { 
        height: 211px; 
} 
.defBoxTit { 
        height: 29px; 
        border: 1px solid #F3F9E3; 
        border-bottom: 1px solid #D5E1C5; 
        background: #F3F9E3 url("09bbs_57.gif") repeat-x top; 
} 
#bbsBee .defBoxTit { 
        border-bottom: none; 
} 
.defBoxTit h3 { 
        float: left; 
        font-size: 12px; 
        color: #214200; 
        padding: 8px 0px 0px 20px; 
        background: url("09bbs_59.gif") no-repeat 9px 8px; 
} 
.defBoxTit h3 a { 
        color: #214200; 
} 
.beeSty1 { 
    position: relative; 
        height: 102px; 
        background: #FFF; 
        border-top: 1px solid #D8E3CB; 
} 
.beeSty1 h3 { 
        position: absolute; 
        left: 142px; 
        top: 24px; 
        width: 120px; 
        font-size: 12px; 
        color: #360; 
} 
.beeSty1 h3 a { 
        color: #360; 
} 
.beeSty1 h4 { 
        position: absolute; 
        left: 13px; 
        top: 20px; 
        height: 19px; 
        width: 27px; 
} 
.beeSty1 h5 { 
        position: absolute; 
        border: 1px solid #AEC68E; 
        height: 80px; 
        width: 80px; 
        left: 50px; 
        top: 10px; 
} 
.beeSty1 h5 img{ 
        border: 1px solid #AEC68E; 
        height: 80px; 
        width: 80px; 
} 
.beeSty1 ul { 
        position: absolute; 
        height: 32px; 
        width: 120px; 
        left: 142px; 
        top: 55px; 
        color: #999; 
} 
.beeSty1 li { 
        height: 16px; 
} 
.beeSty1 li a { 
        font-weight: bold; 
        color: #690; 
} 
 
.beeSty2 { 
    position: relative; 
        height: 38px; 
        background: #F5FBE7 url("09bbs_89.gif") repeat-x bottom; 
        border-top: 1px solid #D8E3CB; 
} 
.beeSty2 h3 { 
        position: absolute; 
        left: 50px; 
        top: 12px; 
        width: 120px; 
        font-size: 12px; 
        font-weight: normal; 
        color: #360; 
} 
.beeSty2 h3 a { 
        color: #360; 
} 
.beeSty2 h4 { 
        position: absolute; 
        left: 18px; 
        top: 12px; 
        height: 13px; 
        width: 18px; 
} 
.beeSty2 h5 { 
        display: none; 
} 
.beeSty2 ul { 
        position: absolute; 
        height: 16px; 
        width: 90px; 
        left: 160px; 
        top: 12px; 
        color: #999; 
        overflow: hidden; 
} 
.beeSty2 li { 
        height: 16px; 
} 
.beeSty2 li a { 
        font-weight: bold; 
        color: #690; 
} 
#greenBox { 
        height: 468px; 
        border: 4px solid #75A11D; 
} 
#headline { 
        height: 109px; 
        padding: 16px 20px 0px 20px; 
} 
#headline h3 { 
        font-family: "黑体"; 
        font-weight: normal; 
        font-size: 16px; 
        height: 27px; 
        text-align: center; 
        clear: both; 
} 
#headline h3 a { 
        color: #360; 
} 
#headline p { 
        float: left; 
        height: 27px; 
        width: 390px; 
        color: #666; 
        white-space: nowrap; 
        overflow: hidden; 
} 
#headline p a { 
        color: #690; 
} 
#betterNews { 
        height: 300px; 
        overflow: hidden; 
        margin: 0px 10px 10px 10px; 
} 
#betterNewsTit { 
        height: 28px; 
        background: url("09bbs_118.gif") no-repeat right; 
} 
#betterNewsTitL { 
        background: url("09bbs_53.gif"); 
        float: left; 
        height: 28px; 
        width: 98px; 
} 
#betterNewsTitL h3 { 
        font-size: 12px; 
        color: #214200; 
        padding: 11px 0px 0px 34px; 
        background: url("09bbs_59.gif") no-repeat 22px 11px; 
} 
#betterNewsTitL h3 a { 
        color: #214200; 
} 
#betterNews ul { 
        padding: 12px 5px 1px 5px; 
        border-bottom: 1px dashed #D7D7D7; 
        width: 402px; 
        float: left; 
} 
#betterNews li { 
        height: 25px; 
        width: 402px; 
        float: left; 
} 
#betterNews ul h4 { 
        font-size: 14px; 
        font-weight: normal; 
        width: 80px; 
        white-space: nowrap; 
        overflow: hidden; 
        float: left; 
} 
#betterNews ul h4 a{ 
        color: #C60; 
} 
#betterNews ul h3 { 
        font-size: 14px; 
        font-weight: normal; 
        width: 216px; 
        margin-right: 24px; 
        white-space: nowrap; 
        overflow: hidden; 
        float: left; 
} 
#betterNews ul h5 { 
        font-size: 12px; 
        font-weight: normal; 
        width: 82px; 
        white-space: nowrap; 
        overflow: hidden; 
        float: left; 
} 
#betterNews ul h5 a { 
        color: #999; 
} 
#nums { 
        height: 32px; 
        border-top: 1px solid #D5E1C5; 
        background: #F3F9E3 url("09bbs_57.gif") repeat-x 0px 1px; 
} 
#nums ul { 
        padding: 11px 0px 0px 20px; 
        width: 390px; 
        overflow: hidden; 
} 
#nums li { 
        display: inline; 
        padding-right: 12px; 
        white-space: nowrap; 
} 
#nums a { 
        color: #F60; 
} 
#loginBox { 
    height: 150px; 
        position: relative; 
} 
#loginBoxSuc { 
    height: 148px; 
        padding: 1px; 
} 
#loginBox table { 
        margin: 6px auto 0px auto; 
        color: #360; 
        background: url("09bbs_49.gif") repeat-x bottom; 
} 
#loginBox th { 
        font-weight: normal; 
        height: 27px; 
        width: 55px; 
        text-align: right; 
} 
#loginBox input.userpw { 
        border: 1px solid #AEC68E; 
        height: 16px; 
        width: 96px; 
        padding: 1px 2px; 
} 
#loginBox ul { 
        padding: 9px 0px 0px 10px; 
} 
#loginBox li { 
        display: inline; 
        padding-right: 2px; 
} 
#loginBox li a { 
        color: #690; 
} 
#loginBox li a.showOrange { 
        color: #F60; 
} 
#loginBtn { 
        position: absolute; 
        height: 49px; 
        width: 49px; 
        left: 170px; 
        top: 40px; 
} 
 
#search { 
        background: #3D6E18 url("09bbsSearch_76.gif") no-repeat right bottom; 
        height: 75px; 
        margin-bottom: 8px; 
} 
#search h3 { 
        float: left; 
        height: 75px; 
        width: 60px; 
        color: #3D6E18; 
        background: #3D6E18 url("09bbsSearch_66.gif") no-repeat 6px 20px; 
} 
#search ul { 
        float: left; 
        width: 160px; 
        padding-top: 13px; 
} 
#search li { 
        height: 27px; 
} 
#search input.keywords { 
        border: 1px solid #AEC68E; 
        height: 16px; 
        width: 150px; 
        padding: 1px 2px; 
} 
#search input.searchBtn { 
        border: none; 
        height: 21px; 
        width: 50px; 
        color: #FFF; 
        font-size: 12px; 
        background: #91C131 url("09bbsSearch_70.gif") no-repeat; 
        cursor: pointer; 
} 
#activity { 
        height: 231px; 
} 
#activity img { 
        display: block; 
        height: 110px; 
        width: 210px; 
        margin: 8px auto 10px auto; 
        border: 1px solid #AEC68E; 
} 
#activity ul { 
        padding-left: 15px; 
} 
#activity li { 
        height: 22px; 
        padding-left: 9px; 
        background: url("09bbs_77.gif") no-repeat 0px 3px; 
} 
.bannerAD { 
        margin: 0px 10px 8px 10px; 
} 
.scrBoxLM { 
        float: left; 
        width: 720px; 
} 
.listBox { 
        width: 354px; 
        height: 288px; 
        margin: 0px 0px 8px 0px; 
        border: 1px solid #D5E1C5; 
        position: relative; 
} 
.listBoxTit { 
        height: 29px; 
        background-color: #E9F4CF; 
        border: 1px solid #FFF; 
        border-bottom: 1px solid #D5E1C5; 
} 
.listBoxTit h3 { 
        font-size: 12px; 
        color: #214200; 
        padding: 8px 0px 0px 20px; 
        background: url("09bbs_59.gif") no-repeat 8px 8px; 
} 
.listBoxTit h3 a { 
        color: #214200; 
} 
#rtph { 
        float: left; 
} 
#ltxt { 
        float: right; 
} 
.listBoxFly { 
        height: 59px; 
        width: 59px; 
        position: absolute; 
        z-index: 99; 
        top: -1px; 
        right: -1px; 
} 
#rtph .listBoxFly { 
        background: url("09bbs_96.gif"); 
} 
#ltxt .listBoxFly { 
        background: url("09bbs_98.gif"); 
} 
#wabs { 
        clear: both; 
        height: 178px; 
        width: 718px; 
        border: 1px solid #D5E1C5; 
        background-color: #F3F9E3; 
        margin-bottom: 8px; 
        padding: 3px 0px; 
} 
#wabsTit { 
        background: url("09bbs_118.gif") no-repeat right; 
        height: 28px; 
        margin: 0px 3px; 
} 
#wabsTit h3 { 
        float: left; 
        font-size: 12px; 
        color: #214200; 
        background: url("09bbs_117.gif") no-repeat; 
        height: 20px; 
        padding: 8px 0px 0px 28px; 
} 
#wabsTit h3 a { 
        color: #214200; 
} 
#wabsCon { 
        padding: 10px 0px 0px 11px; 
        height: 140px; 
} 
.wabsOne { 
        float: left; 
        height: 140px; 
        width: 132px; 
        padding-right: 9px; 
} 
.wabsPic { 
        background-color: #FFF; 
        height: 94px; 
        width: 124px; 
        border: 1px solid #DDD; 
        padding: 3px; 
} 
.wabsOne h4 { 
        font-size: 12px; 
        font-weight: normal; 
        text-align: center; 
        width: 120px; 
        padding-top: 10px; 
        margin: 0px 6px; 
        white-space: nowrap; 
        overflow: hidden; 
} 
#xdtb { 
        float: left; 
        height: 322px; 
} 
#xdtb .listBoxFly { 
        background: url("09bbs_127.gif"); 
} 
#ysh { 
        float: right; 
        height: 322px; 
} 
#ysh .listBoxFly { 
        background: url("09bbs_129.gif"); 
} 
.picListBox { 
        height: 136px; 
        margin: 0px 10px; 
} 
.picListBoxTop { 
    padding-top: 8px; 
        border-bottom: 1px dashed #DDD; 
} 
.picListBoxBot { 
        padding-top: 6px; 
} 
.picListPic { 
        float: left; 
        background: #FFF; 
        height: 122px; 
        width: 124px; 
        border: 1px solid #DDD; 
        padding: 3px; 
} 
.picListPic img { 
        height: 94px; 
        width: 124px; 
        display: block; 
        margin-bottom: 3px; 
} 
.picListPic h4 { 
        font-size: 12px; 
        text-align: center; 
        font-weight: normal; 
        height: 18px; 
        padding-top: 7px; 
        background: #F3F9E3; 
} 
.picListBox ul { 
        padding: 8px 0px 0px 10px; 
        float: left; 
} 
.picListBox li { 
        height: 24px; 
        padding-left: 9px; 
        background: url("09bbs_dot.gif") no-repeat 0px 4px; 
} 
.scrRR { 
        float: right; 
        width: 232px; 
} 
#bbsStar { 
        height: 242px; 
} 
#starInfo { 
        height: 94px; 
        padding: 8px 0px 0px 2px;; 
        margin-left: 8px; 
        background: url("09bbs_101.gif") no-repeat right 6px; 
} 
.starPhoto { 
        float: left; 
        height: 80px; 
        width: 80px; 
        border: 1px solid #AEC68E; 
        overflow: hidden; 
        margin-right: 10px; 
} 
.starList { 
        float: left; 
        width: 128px; 
        height: 94px; 
} 
.starList h4 { 
        font-size: 12px; 
        color: #FF6600; 
        height: 21px; 
        padding-top: 2px; 
} 
.starList dt { 
        color: #999; 
        height: 16px; 
} 
.starList dd { 
        color: #690; 
        height: 16px; 
        font-weight: bold; 
} 
#starIntro { 
        margin: 0px 8px; 
        padding-top: 8px; 
        background: url("09bbs_49.gif") repeat-x top; 
} 
#starIntro p { 
        line-height: 22px; 
        text-indent: 2em; 
} 
#starIntro h4 { 
        font-size: 12px; 
        text-align: right; 
} 
#starIntro h4 a { 
        color: #690; 
} 
.sideBanner { 
        height: 80px; 
        margin-bottom: 8px; 
} 
#cardClub { 
        height: 192px; 
} 
.sideList { 
        padding: 10px 0px 0px 10px; 
} 
.sideList li { 
        height: 24px; 
        background: url("09bbs_dot.gif") no-repeat 0px 4px; 
        padding-left: 9px; 
} 
#jczt { 
        height: 299px; 
} 
#jczt img { 
        display: block; 
        height: 110px; 
        width: 210px; 
        margin: 10px auto 2px auto; 
        border: 1px solid #AEC68E; 
} 
#footer { 
        height: 105px; 
        padding-top: 35px; 
        background: url("09bbs_136.gif") repeat-x top; 
        margin: 0px 10px; 
        text-align: center; 
} 
#footer p { 
        line-height: 20px; 
        color: #666; 
} 
#footer p a { 
        color: #666; 
} 
#loginBoxSucWrap { 
        height: 98px; 
        padding: 13px 0px 0px 9px; 
        background: url("09bbs_57.gif") repeat-x top; 
} 
.userPhoto img{ 
        background-color: #FFF; 
        float: left; 
        height: 58px; 
        width: 58px; 
        padding: 1px; 
        border: 1px solid #AEC68E; 
} 
 
#loginBoxSucWrap ul { 
        float: left; 
        padding-left: 10px; 
        width: 145px; 
        color: #360; 
} 
#loginBoxSucWrap li { 
        height: 18px; 
} 
#loginBoxSucWrap li a { 
        color: #360; 
} 
#loginBoxSucWrap h5 { 
        font-weight: normal; 
        font-size: 12px; 
        padding: 4px 0px 0px 0px; 
} 
#loginBoxSucWrap h5 a { 
        color: #690; 
} 
.linksBtn { 
        clear: both; 
        margin: 0px 9px; 
        background: url("09bbs_49.gif") repeat-x top; 
        text-align: center; 
        padding-top: 8px; 
} 
.linksBtn img { 
        margin: 0px 3px; 
        padding: 0px; 
} 
.top10 { 
        padding: 12px 0px 0px 16px; 
        width: 338px; 
        float: left; 
} 
.top10 li { 
        height: 24px; 
        width: 338px; 
        float: left; 
} 
.top10 h4 { 
        font-size: 9px; 
        font-weight: bold; 
        color: #FFF; 
        background: #FC7C00 url("09bbs_104.gif"); 
        font-family: Verdana, Arial, Helvetica, sans-serif; 
        width: 15px; 
        height: 12px; 
        text-align: center; 
        float: left; 
        margin-right: 10px; 
} 
.top10 h3 { 
        font-size: 14px; 
        font-weight: normal; 
        white-space: nowrap; 
        overflow: hidden; 
        width: 220px; 
        float: left; 
} 
.top10 h5 { 
        font-size: 12px; 
        font-weight: normal; 
        width: 82px; 
        white-space: nowrap; 
        overflow: hidden; 
        float: left; 
} 
.top10 h5 a { 
        color: #999; 
} 
#ltxt .top10 h4 { 
        background: #FC7C00 url("09bbs_107.gif"); 
} 
#bee01.beeSty1 h4 { 
        background: url("09bbs_numB_01.gif"); 
} 
#bee01.beeSty2 h4 { 
        background: url("09bbs_numS_01.gif") no-repeat; 
} 
#bee02.beeSty1 h4 { 
        background: url("09bbs_numB_02.gif"); 
} 
#bee02.beeSty2 h4 { 
        background: url("09bbs_numS_02.gif") no-repeat; 
} 
#bee03.beeSty1 h4 { 
        background: url("09bbs_numB_03.gif"); 
} 
#bee03.beeSty2 h4 { 
        background: url("09bbs_numS_03.gif") no-repeat; 
} 
.listBoxMore { 
        position: absolute; 
        height: 17px; 
        width: 36px; 
        right: 10px; 
        overflow: hidden; 
        bottom: 0px; 
        background: url("09bbs_more_169.gif") no-repeat; 
} 
.listBoxMore a { 
        display: block; 
        width: 36px; 
        height: 17px; 
        padding-top: 20px; 
} 
.picListPic h4 a { 
        white-space: nowrap; 
        text-align: center; 
        width: 108px; 
        margin: 0px 8px; 
        overflow: hidden; 
        display: block; 
} 
 
 
/******************BBSlogo**************************/ 
#newLogo { 
        float: left; 
        height: 90px; 
        width: 250px; 
} 
#newLogo h1 { 
        height: 85px; 
        width: 245px; 
} 
#newLogo h1 a { 
        display: block; 
        height: 85px; 
        width: 245px; 
        background-image: url("bbslogo.gif"); 
        background-repeat: no-repeat; 
        text-indent: -9999px; 
} 
 
 
#nav2 { 
        margin: 0px 10px 10px 10px; 
} 
#nav2 b { 
        font-weight: bold; 
} 
#nav2Main { 
        height: 36px; 
        overflow: hidden; 
        background: url("09bbsNav_04.gif"); 
} 
#nav2Main a:hover { 
        text-decoration: none; 
} 
#nav2MainL { 
        float: left; 
        width: 5px; 
        height: 36px; 
        background: url("09bbsNav_03.gif"); 
} 
#nav2MainR { 
        float: right; 
        width: 5px; 
        height: 36px; 
        background: url("09bbsNav_06.gif"); 
} 
#nav2 .tabs { 
        float: left; 
        height: 36px; 
        font-size: 14px; 
} 
#nav2 .tab { 
        display: block; 
        float: left; 
        cursor: pointer; 
        color: #FFF; 
        height: 36px; 
        padding: 0px 10px 0px 12px; 
        background: url("09bbsNav_10.gif") no-repeat right 6px; 
} 
#nav2 .tab span { 
        display: block; 
        float: left; 
        height: 36px; 
} 
#nav2 .tab span b { 
        display: block; 
        float: left; 
        padding: 12px 16px 0px 16px; 
        height: 24px;         
} 
#nav2 .curtab { 
        color: #360; 
} 
#nav2 .curtab span { 
        background: url("09bbsNav_08.gif") no-repeat right 6px;         
} 
#nav2 .curtab span b { 
        background: url("09bbsNav_07.gif") no-repeat left 6px;         
} 
#nav2 .tabcontent { 
    height: 36px; 
        border: 1px solid #B5D48C; 
        border-top: none; 
        background: url("09bbsNav_14.gif") repeat-x bottom;         
} 
#nav2 .tabcontent ul { 
        padding-top: 13px; 
} 
#nav2 .tabcontent li { 
    float: left; 
        padding: 0px 21px 0px 20px; 
        background: url("09bbsNav_18.gif") no-repeat right; 
} 
#nav2 .tabcontent li a { 
    color: #360; 
} 
#nav2 .tabcontent li a.hotCol { 
    color: #F60; 
} 
#nav2 .tabcontent li a:hover { 
    color: #F70; 
} 
 
/**********************************************20090203修改***********************************************/ 
 
 
#betterNews { 
        margin: 0px 10px 6px 10px; 
} 
#nums { 
        height: 36px; 
} 
#nums ul { 
        padding: 13px 0px 0px 20px; 
} 
#nums li { 
        padding-right: 10px; 
} 
#midADs { 
        margin: 2px 10px 10px 10px; 
        background: #EAF3D3; 
        height: 108px; 
        width: 960px; 
        overflow: hidden; 
} 
#midADs ul { 
        padding: 6px 0px 0px 7px; 
} 
#midADs li { 
        float: left; 
        margin-right: 6px; 
} 
.glBoard { 
    height: 162px; 
        width: 350px; 
        border: 1px solid #D5E1C5; 
        background: #FFF; 
        margin-bottom: 8px; 
        padding: 2px; 
        overflow: hidden; 
} 
#hotBoard { 
        float: left;         
} 
#newBoard { 
        float: right;         
} 
.glBoardTit { 
        height: 28px; 
        background: url("09bbs3_17.gif"); 
} 
.glBoardTit h3 { 
        float: left; 
        background: url("09bbs3_16.gif") no-repeat; 
        width: 104px; 
        height: 20px; 
        font-size: 12px; 
        color: #FFF; 
        padding: 8px 0px 0px 21px; 
} 
.glBoardTitR { 
        float: right; 
        background: url("09bbs3_20.gif") no-repeat right; 
        width: 90px; 
        height: 28px; 
} 
#newBoard .glBoardTitR { 
        background: url("09bbs3_23.gif") no-repeat; 
} 
#newBoard .top10 h4 { 
        background: url("09bbs_107.gif"); 
} 
#wabsTit h3 { 
        color: #FFF; 
        float: left; 
} 
#wabsTit h3 a { 
        color: #FFF; 
} 
#wabs { 
        height: 313px; 
} 
.wabsOne { 
        height: 138px; 
} 
.moreInfo { 
        font-size: 12px; 
        font-weight: normal; 
        float: right; 
        padding: 9px 16px 0px 0px; 
        color: #91A67D; 
} 
.moreInfo a { 
        color: #91A67D; 
} 
#wabs .moreInfo a { 
        color: #FFF; 
} 
.modiList { 
        height: 180px; 
        width: 354px; 
        border: 1px solid #D5E1C5; 
        margin-bottom: 8px; 
} 
.modiListTit { 
        height: 29px; 
        border-bottom: 1px solid #D5E1C5; 
        background: url("09bbs3_29.gif"); 
} 
.modiListTit h3 { 
        font-size: 12px; 
        float: left; 
        color: #214200; 
        padding: 9px 0px 0px 20px; 
        background: url("09bbs_59.gif") no-repeat 8px 9px; 
} 
.modiListCon { 
        height: 136px; 
        margin: 0px 10px; 
        padding-top: 8px; 
} 
.modiListPic { 
        float: left; 
        background: #FFF; 
        height: 122px; 
        width: 124px; 
        border: 1px solid #DDD; 
        padding: 3px; 
} 
.modiListPic img { 
        height: 94px; 
        width: 124px; 
        display: block; 
        margin-bottom: 3px; 
} 
.modiListPic h4 { 
        font-size: 12px; 
        text-align: center; 
        font-weight: normal; 
        height: 18px; 
        padding-top: 7px; 
        background: #F3F9E3; 
} 
.modiListPic h4 a { 
        white-space: nowrap; 
        text-align: center; 
        width: 108px; 
        margin: 0px 8px; 
        overflow: hidden; 
        display: block; 
} 
.modiListCon ul { 
        padding: 4px 0px 0px 12px; 
        float: left; 
} 
.modiListCon li { 
        height: 22px; 
        padding-left: 9px; 
        background: url("09bbs_dot.gif") no-repeat 0px 4px; 
} 
#block01 { 
    float: left; 
} 
#block02 { 
    float: right; 
} 
#block03 { 
    float: left; 
        clear: both; 
} 
#block04 { 
    float: right; 
} 
.sideList li { 
        height: 22px; 
} 
.picForTheme { 
        display: block; 
        height: 110px; 
        width: 210px; 
        margin: 8px auto 2px auto; 
        border: 1px solid #AEC68E; 
} 
 
/*************************************友情链接样式表**********************************/ 
 
#links { 
        margin: 0px 10px 10px 10px; 
        border: 1px solid #D5E1C5; 
} 
#links ul { 
        float: left; 
        padding: 15px 10px 5px 20px; 
} 
#links li { 
        float: left; 
        height: 22px; 
        margin-right: 12px; 
        white-space: nowrap; 
} 
 
 
 
下面是网页代码: 
 
<?php 
//部落设计——皆在为您的网站加点料! 
 
//版权所有 部落设计工作室  http://www.39it.com.cn 
 
//只要您是站长在部落设计总会有您需要的东西! 
 
//TEL:0571—86660256  
//QQ:271772477 QQ:591889188 QQ:331339068 
//E-mail:39it@163.com 
/* 
        [Discuz!] (C)2001-2009 Comsenz Inc. 
        This is NOT a freeware, use is subject to license terms 
 
        $Id: index.php 16688 2008-11-14 06:41:07Z cnteacher $ 
*/ 
 
define('CURSCRIPT', 'index'); 
 
require_once './include/common.inc.php'; 
require_once DISCUZ_ROOT.'./include/forum.func.php'; 
 
//友情链接带LOGO 
$hack_cut_str =20; //修改标题显示字数 
$new_links1_threadlist = array(); 
$buluoinfolinks= array(); 
$query = $db->query("SELECT id,displayorder,name,url,description,logo FROM {$tablepre}forumlinks where logo!=''  ORDER BY displayorder LIMIT 10"); 
while($buluoinfolinks = $db->fetch_array($query)) { 
        $buluoinfolinks['links_id'] = $buluoinfolinks['id'];  
        $buluoinfolinks['links_name'] = $buluoinfolinks['name']; 
        $buluoinfolinks['links_url'] = $buluoinfolinks['url']; 
        $buluoinfolinks['links_logo'] = $buluoinfolinks['logo']; 
        $buluoinfolinks['links_disp'] = $buluoinfolinks['displayorder']; 
        $buluoinfolinks['links_desc'] = cutstr($buluoinfolinks['description'],$hack_cut_str); 
        if($buluoinfotr['highlight']) { 
                $string = sprintf('%02d', $buluoinfolinks['highlight']); 
                $stylestr = sprintf('%03b', $string[0]); 
                $buluoinfolinks['highlight'] = 'style="'; 
                $buluoinfolinks['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : ''; 
                $buluoinfolinks['highlight'] .= $stylestr[1] ? 'font-style: italic;' : ''; 
                $buluoinfolinks['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : ''; 
                $buluoinfolinks['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : ''; 
                $buluoinfolinks['highlight'] .= '"'; 
        } else { 
                $buluoinfolinks['highlight'] = ''; 
        } 
        $new_links1_threadlist[] = $buluoinfolinks; 
} 
//结束// 
 
 
//友情链接文字版本// 
$hack_cut_str =20; //修改标题显示字数 
$new_links2_threadlist = array(); 
$buluoinfolinks= array(); 
$query = $db->query("SELECT id,displayorder,name,url,description,logo FROM {$tablepre}forumlinks where logo='' ORDER BY displayorder LIMIT 20"); 
while($buluoinfolinks = $db->fetch_array($query)) { 
        $buluoinfolinks['links_id'] = $buluoinfolinks['id'];  
        $buluoinfolinks['links_name'] = $buluoinfolinks['name']; 
        $buluoinfolinks['links_url'] = $buluoinfolinks['url']; 
        $buluoinfolinks['links_disp'] = $buluoinfolinks['displayorder']; 
        $buluoinfolinks['links_desc'] = cutstr($buluoinfolinks['description'],$hack_cut_str); 
        if($buluoinfotr['highlight']) { 
                $string = sprintf('%02d', $buluoinfolinks['highlight']); 
                $stylestr = sprintf('%03b', $string[0]); 
                $buluoinfolinks['highlight'] = 'style="'; 
                $buluoinfolinks['highlight'] .= $stylestr[0] ? 'font-weight: bold;' : ''; 
                $buluoinfolinks['highlight'] .= $stylestr[1] ? 'font-style: italic;' : ''; 
                $buluoinfolinks['highlight'] .= $stylestr[2] ? 'text-decoration: underline;' : ''; 
                $buluoinfolinks['highlight'] .= $string[1] ? 'color: '.$colorarray[$string[1]] : ''; 
                $buluoinfolinks['highlight'] .= '"'; 
        } else { 
                $buluoinfolinks['highlight'] = ''; 
        } 
        $new_links2_threadlist[] = $buluoinfolinks; 
} 
//结束// 
 
 
$discuz_action = 1; 
 
if($cacheindexlife && !$discuz_uid && $showoldetails != 'yes' && (!$_DCACHE['settings']['frameon'] || $_DCACHE['settings']['frameon'] && $_GET['frameon'] != 'yes') && empty($gid)) { 
 
        $indexcache = getcacheinfo(0); 
 
        if($timestamp - $indexcache['filemtime'] > $cacheindexlife) { 
                @unlink($indexcache['filename']); 
                define('CACHE_FILE', $indexcache['filename']); 
                $styleid = $_DCACHE['settings']['styleid']; 
        } elseif($indexcache['filename']) { 
                @readfile($indexcache['filename']); 
                $debug && debuginfo(); 
                $debug ? die('<script type="text/javascript">document.getElementById("debuginfo").innerHTML = " '.($debug ? 'Updated at '.gmdate("H:i:s", $indexcache['filemtime'] + 3600 * 8).', Processed in '.$debuginfo['time'].' second(s), '.$debuginfo['queries'].' Queries'.($gzipcompress ? ', Gzip enabled' : '') : '').'";</script>') : die(); 
        } 
} 
 
 
if(isset($showoldetails)) { 
        switch($showoldetails) { 
                case 'no': dsetcookie('onlineindex', 0, 86400 * 365); break; 
                case 'yes': dsetcookie('onlineindex', 1, 86400 * 365); break; 
        } 
} else { 
        $showoldetails = false; 
} 
 
$currenttime = gmdate($timeformat, $timestamp + $timeoffset * 3600); 
$lastvisittime = dgmdate("$dateformat $timeformat", $lastvisit + $timeoffset * 3600); 
 
$memberenc = rawurlencode($lastmember); 
$newthreads = round(($timestamp - $lastvisit + 600) / 1000) * 1000; 
$rsshead = $rssstatus ? ('<link rel="alternate" type="application/rss+xml" title="'.$bbname.'" href="'.$boardurl.'rss.php?auth='.$rssauth."\" />\n") : ''; 
 
$customtopics = ''; 
if($qihoo['maxtopics']) { 
        foreach(explode("\t", isset($_DCOOKIE['customkw']) ? $_DCOOKIE['customkw'] : '') as $topic) { 
                $topic = dhtmlspecialchars(trim(stripslashes($topic))); 
                $customtopics .= '<a href="topic.php?keyword='.rawurlencode($topic).'" target="_blank">'.$topic.'</a>  '; 
        } 
} 
 
$catlist = $forumlist = $sublist = $forumname = $collapseimg = $collapse = array(); 
$threads = $posts = $todayposts = $fids = $announcepm = 0; 
$postdata = $historyposts ? explode("\t", $historyposts) : array(); 
 
foreach(array('forumlinks', 'sidebar') as $key) { 
        if(!isset($_COOKIE['discuz_collapse']) || strpos($_COOKIE['discuz_collapse'], $key) === FALSE) { 
                $collapseimg[$key] = 'collapsed_no'; 
                $collapse[$key] = ''; 
        } else { 
                $collapseimg[$key] = 'collapsed_yes'; 
                $collapse[$key] = 'display: none'; 
        } 
} 
 
if(!empty($gid)) { 
        $infosidestatus[2] = !empty($infosidestatus['f'.$gid][0]) ? $infosidestatus['f'.$gid][0] : $infosidestatus[2]; 
} 
$infosidestatus['allow'] = $infosidestatus['allow'] && $infosidestatus[2] && $infosidestatus[2] != -1 ? (!$collapse['sidebar'] ? 2 : 1) : 0; 
 
 
$gid = !empty($gid) ? intval($gid) : 0; 
 
if(!$gid) { 
        $announcements = ''; 
        if($_DCACHE['announcements']) { 
                $readapmids = !empty($_DCOOKIE['readapmid']) ? explode('D', $_DCOOKIE['readapmid']) : array(); 
                foreach($_DCACHE['announcements'] as $announcement) { 
                        if(empty($announcement['groups']) || in_array($groupid, $announcement['groups'])) { 
                                if(empty($announcement['type'])) { 
                                        $announcements .= '<li><a href="announcement.php?id='.$announcement['id'].'">'.$announcement['subject']. 
                                                '<em>('.gmdate($dateformat, $announcement['starttime'] + $timeoffset * 3600).')</em></a></li>'; 
                                } elseif($announcement['type'] == 1) { 
                                        $announcements .= '<li><a href="'.$announcement['message'].'" target="_blank">'.$announcement['subject']. 
                                                '<em>('.gmdate($dateformat, $announcement['starttime'] + $timeoffset * 3600).')</em></a></li>'; 
                                } 
                        } 
                } 
        } 
        unset($_DCACHE['announcements']); 
 
        $sql = !empty($accessmasks) ? 
                                "SELECT f.fid, f.fup, f.type, f.name, f.threads, f.posts, f.todayposts, f.lastpost, f.inheritedmod, f.forumcolumns, f.simple, ff.description, ff.moderators, ff.icon, ff.viewperm, ff.redirect, a.allowview FROM {$tablepre}forums f 
                                        LEFT JOIN {$tablepre}forumfields ff ON ff.fid=f.fid 
                                        LEFT JOIN {$tablepre}access a ON a.uid='$discuz_uid' AND a.fid=f.fid 
                                        WHERE f.status>0 ORDER BY f.type, f.displayorder" 
                                : "SELECT f.fid, f.fup, f.type, f.name, f.threads, f.posts, f.todayposts, f.lastpost, f.inheritedmod, f.forumcolumns, f.simple, ff.description, ff.moderators, ff.icon, ff.viewperm, ff.redirect FROM {$tablepre}forums f 
                                        LEFT JOIN {$tablepre}forumfields ff USING(fid) 
                                        WHERE f.status>0 ORDER BY f.type, f.displayorder"; 
 
        $query = $db->query($sql); 
 
        while($forum = $db->fetch_array($query)) { 
                $forumname[$forum['fid']] = strip_tags($forum['name']); 
                if($forum['type'] != 'group') { 
 
                        $threads += $forum['threads']; 
                        $posts += $forum['posts']; 
                        $todayposts += $forum['todayposts']; 
 
                        if($forum['type'] == 'forum' && isset($catlist[$forum['fup']])) { 
                                if(forum($forum)) { 
                                        $catlist[$forum['fup']]['forums'][] = $forum['fid']; 
                                        $forum['orderid'] = $catlist[$forum['fup']]['forumscount']++; 
                                        $forum['subforums'] = ''; 
                                        $forumlist[$forum['fid']] = $forum; 
                                } 
 
                        } elseif(isset($forumlist[$forum['fup']])) { 
 
                                $forumlist[$forum['fup']]['threads'] += $forum['threads']; 
                                $forumlist[$forum['fup']]['posts'] += $forum['posts']; 
                                $forumlist[$forum['fup']]['todayposts'] += $forum['todayposts']; 
                                if($subforumsindex && $forumlist[$forum['fup']]['permission'] == 2 && !($forumlist[$forum['fup']]['simple'] & 16) || ($forumlist[$forum['fup']]['simple'] & 8)) { 
                                        $forumlist[$forum['fup']]['subforums'] .= '<a href="forumdisplay.php?fid='.$forum['fid'].'">'.$forum['name'].'</a>  '; 
                                } 
 
                        } 
 
                } else { 
 
                        if(!isset($_COOKIE['discuz_collapse']) || strpos($_COOKIE['discuz_collapse'], 'category_'.$forum['fid']) === FALSE) { 
                                $forum['collapseimg'] = 'collapsed_no.gif'; 
                                $collapse['category_'.$forum['fid']] = ''; 
                        } else { 
                                $forum['collapseimg'] = 'collapsed_yes.gif'; 
                                $collapse['category_'.$forum['fid']] = 'display: none'; 
                        } 
 
                        if($forum['moderators']) { 
                                 $forum['moderators'] = moddisplay($forum['moderators'], 'flat'); 
                        } 
                        $forum['forumscount']         = 0; 
                        $catlist[$forum['fid']] = $forum; 
                } 
        } 
 
        foreach($catlist as  $catid => $category) { 
                if($catlist[$catid]['forumscount'] && $category['forumcolumns']) { 
                        $catlist[$catid]['forumcolwidth'] = floor(100 / $category['forumcolumns']).'%'; 
                        $catlist[$catid]['endrows'] = ''; 
                        if($colspan = $category['forumscount'] % $category['forumcolumns']) { 
                                while(($category['forumcolumns'] - $colspan) > 0) { 
                                        $catlist[$catid]['endrows'] .= '<td> </td>'; 
                                        $colspan ++; 
                                } 
                                $catlist[$catid]['endrows'] .= '</tr>'; 
                        } 
 
                } elseif(empty($category['forumscount'])) { 
                        unset($catlist[$catid]); 
                } 
        } 
        unset($catid, $category); 
 
        if(isset($catlist[0]) && $catlist[0]['forumscount']) { 
                $catlist[0]['fid'] = 0; 
                $catlist[0]['type'] = 'group'; 
                $catlist[0]['name'] = $bbname; 
                $catlist[0]['collapseimg'] = 'collapsed_no.gif'; 
        } else { 
                unset($catlist[0]); 
        } 
 
        if($whosonlinestatus == 1 || $whosonlinestatus == 3) { 
                $whosonlinestatus = 1; 
 
                $onlineinfo = explode("\t", $onlinerecord); 
                if(empty($_DCOOKIE['onlineusernum'])) { 
                        $onlinenum = $db->result_first("SELECT COUNT(*) FROM {$tablepre}sessions"); 
                        if($onlinenum > $onlineinfo[0]) { 
                                $_DCACHE['settings']['onlinerecord'] = $onlinerecord = "$onlinenum\t$timestamp"; 
                                $db->query("UPDATE {$tablepre}settings SET value='$onlinerecord' WHERE variable='onlinerecord'"); 
                                require_once DISCUZ_ROOT.'./include/cache.func.php'; 
                                updatesettings(); 
                                $onlineinfo = array($onlinenum, $timestamp); 
                        } 
                        dsetcookie('onlineusernum', intval($onlinenum), 300); 
                } else { 
                        $onlinenum = intval($_DCOOKIE['onlineusernum']); 
                } 
                $onlineinfo[1] = gmdate($dateformat, $onlineinfo[1] + ($timeoffset * 3600)); 
 
                $detailstatus = $showoldetails == 'yes' || (((!isset($_DCOOKIE['onlineindex']) && !$whosonline_contract) || $_DCOOKIE['onlineindex']) && $onlinenum < 500 && !$showoldetails); 
 
                if($detailstatus) { 
                        @include language('actions'); 
 
                        $discuz_uid && updatesession(); 
                        $membercount = $invisiblecount = 0; 
                        $whosonline = array(); 
 
                        $maxonlinelist = $maxonlinelist ? $maxonlinelist : 500; 
 
                        $query = $db->query("SELECT uid, username, groupid, invisible, action, lastactivity, fid FROM {$tablepre}sessions ".(isset($_DCACHE['onlinelist'][7]) ? '' : 'WHERE uid <> 0')." ORDER BY uid DESC LIMIT ".$maxonlinelist); 
                        while($online = $db->fetch_array($query)) { 
                                if($online['uid']) { 
                                        $membercount ++; 
                                        if($online['invisible']) { 
                                                $invisiblecount++; 
                                                continue; 
                                        } else { 
                                                $online['icon'] = isset($_DCACHE['onlinelist'][$online['groupid']]) ? $_DCACHE['onlinelist'][$online['groupid']] : $_DCACHE['onlinelist'][0]; 
                                        } 
 
                                } else { 
                                        $online['icon'] = $_DCACHE['onlinelist'][7]; 
                                        $online['username'] = $_DCACHE['onlinelist']['guest']; 
                                } 
 
                                $online['fid'] = $online['fid'] ? $forumname[$online['fid']] : 0; 
                                $online['action'] = $actioncode[$online['action']]; 
                                $online['lastactivity'] = gmdate($timeformat, $online['lastactivity'] + ($timeoffset * 3600)); 
                                $whosonline[] = $online; 
                        } 
                        unset($actioncode, $online); 
 
                        if($onlinenum > $maxonlinelist) { 
                                $membercount = $db->result_first("SELECT COUNT(*) FROM {$tablepre}sessions WHERE uid <> '0'"); 
                                $invisiblecount = $db->result_first("SELECT COUNT(*) FROM {$tablepre}sessions WHERE invisible = '1'"); 
                        } 
 
                        if($onlinenum < $membercount) { 
                                $onlinenum = $db->result_first("SELECT COUNT(*) FROM {$tablepre}sessions"); 
                                dsetcookie('onlineusernum', intval($onlinenum), 300); 
                        } 
 
                        $guestcount = $onlinenum - $membercount; 
 
                        $db->free_result($query); 
                        unset($online); 
                } 
 
        } else { 
                $whosonlinestatus = 0; 
        } 
 
} else { 
        require_once DISCUZ_ROOT.'./include/category.inc.php'; 
 
} 
 
$lastvisit = $lastvisit ? dgmdate("$dateformat $timeformat", $lastvisit + 3600 * $timeoffset) : 0; 
 
include template('buluoguoli'); 
 
?> 
 
 
在些跪求各位高手帮帮忙,在线等了.QQ 351564558 |