<!--<?php
if($db_showcss && R_P==D_P && file_exists(D_P."data/bbscache/$tplpath.css")){print <<<EOT
-->
<link rel="stylesheet" type="text/css" href="data/bbscache/$tplpath.css" />
<!--
EOT;
}else{print <<<EOT
-->
<!--css--><style type="text/css">
/*html{overflow-y:scroll;}*/
body{font-size:9pt; background:$bgcolor;font-family:Verdana; color:#333;/*padding-bottom:15px;*/}
h3,h2{display:inline;font-size:1.0em;}
h3{font-weight:normal}/*h3 文章列表页文章标题*/
h2 a{color:#000;}/*h2 版块列表页版块名称标题*/
h3 a{color:#444;margin-right:.5em;zoom:1;}
h4{margin:20px 0 10px;font-size:1.1em}
/*a link 基本连接颜色*/
a{text-decoration:none;color:$linkcolor}
a:hover{color:#0070AF;text-decoration:underline;}
/*span color 数值自定义*/
.s0,.black,.black a{color:#333}
.s1,.green{color:#008000;} /*绿色*/
.s2{color:#984B98;} /*粉色*/
.s3{color:#ff6600;} /*橙色*/
.s4{color:#0033FF;} /*蓝色*/
.s5{color:#659B28}  /*浅绿*/
.s7,.powder,.powder a{color:#ff00a2;}
.s8,.s8 a{color:#006699;}
.gray,.gray a,.c-zi,.gray1{color:#908c8c;} /*次要文字颜色-可定义*/
.red{color:#ff0000;}/*红色*/
.mode-main-left a,.blue,.blue a,.c-t-500 span a{color:#2384bc;} /*蓝色*/
.pdD{padding:.3em .5em}
.p10{padding:1em;}
/*内补丁*/
.pd8{padding:10px;}
.pd8 img{margin-right:8px;}
/*main color 数值自定义*/
.f_one,.t_one,.r_one{background:$forumcolorone;}
.f_two,.t_two,.r_two{background:$forumcolortwo;}
/*全局*/
#mode-header{background:url($imgpath/$stylepath/head-bg.png) 0 bottom repeat-x #eee;min-width:980px;}
.mode-header{background:#6f94b7 url($imgpath/$stylepath/head-top.png) 0 top repeat-x;} /*头部背景*/
.mode-head{width:980px;margin:0 auto;} /*头部*/
.mode-main{width:$mtablewidth;margin:0 auto;min-width:980px;max-width:1200px;}  /*内容*/
/*按钮*/
.btn{border-color: #4c9542 #668f01 #668f01 #4c9542;margin-right:1em;color:#fff;background:#89bf01;}
.btn,.bt{border-width:1px;cursor:pointer;padding:.2em 1em;*padding:0 .5em;font-size:9pt;}
.bt{cursor:pointer;background:#f0f0f0;color:#000;vertical-align:middle;border-color: #e7e7e7 #666666 #666666 #e7e7e7;}
/*伪类按钮*/
.bta{cursor:pointer;color:$linkcolor;padding:2px 8px;background:$forumcolortwo;margin:2px;white-space:nowrap;border:0px;border:1px solid $tablecolor;}
.abtn2 a{border:1px solid #fbfdff;padding:2px 4px 1px;color:#555;}
.abtn2 a:hover{border:1px solid #2195d2;color:#2195d2;text-decoration:none;background:#fff;}
/*图像*/
.img a img{border:1px solid #e4e4e4;padding:3px;background:#fff;}
.img a:hover img{border:1px solid #999;background:#fff;}
.u-img img{padding:1px;background:#fff;border:1px solid #e4e4e4;}
/*form*/
textarea,input,select{font:12px Arial;padding:1px 3px 0 3px;vertical-align:middle;margin-bottom:1px;}
select{border:solid 1px $tdcolor;}
.input{border: 1px solid; border-color: #c0c0c0 #ededed #ededed #c0c0c0;padding:2px 0px 2px 1px;font-size:1.0em;vertical-align:middle;color:#000;}
textarea,.txa{border: 1px solid; border-color: #c0c0c0 #ededed #ededed #c0c0c0;}
/*通用公告框*/
#breadcrumbs{overflow:hidden;margin:10px auto;height:28px;padding:0 1em 0 0;background:#f7f7f7;line-height:28px;}
#breadcrumbs .crumbs-item{overflow:hidden;height:28px;padding:0 1.3em 0 1.3em;border-right:1px dotted $tablecolor;float:left;position:relative ;}
#breadcrumbs .crumbs-item  i { position:absolute;height:28px;width:1px;left:0px;top:0;}
#breadcrumbs .crumbs-item:hover i{background-color: #fff;}
#breadcrumbs .crumbs-item:hover{ background-color: #fff;text-decoration:none}
#notice{padding:.3em 0;height:18px;}
#notice a{padding-right:.5em;margin-left:1.5em}
/*table*/
.t{border-bottom:0px solid $tablecolor;margin:0 auto 10px; height:auto; overflow:hidden;}
.t table{border:0px solid $forumcolorone;margin:0; width:100%;border-top:none;}
.t3{margin:4px auto 3px;}
.t3 table{padding:0px;}
.t4{padding:0px;}
.t5{border-bottom:1px solid $tdcolor;border-top:1px solid $tdcolor;margin:0 auto 10px; height:auto; overflow:hidden;}
/*table head*/
.h{border-bottom:1px solid #cde2f6;border-top:1px solid $headborder;background:$headcolor;text-align:left;color:$headfontone;padding:2px .5em 0; line-height:220%;}
.h span{font-weight:normal;}
.h h2{font-weight:bold}
.h a{font-family:Arial;color:$headfontone}
.h span a,.h span{color:$headfonttwo;}
.h a.a2{margin-left:12px;}
.closeicon{margin-top:.3em}
.cate_fold{padding:0 5px 0 5px;margin-bottom:2px;text-decoration:none;}
.cate_fold:hover{text-decoration:none;}
/*table tr1*/
.tr1 th{padding:5px 10px;text-align:left;vertical-align:top;font-weight:normal;}
.tr1 td.td1{border-bottom:1px solid $tdcolor;}
/*table tr2*/
.tr2{background:$cbgcolor;color:$cbgfont;}
.tr2 td,.tr2 th{line-height:18px;border-bottom:1px solid $cbgborder;padding:2px 6px;*padding:4px 6px 1px;}
.tr2 a{color:$cbgfont;margin:0 2px 0}
/*table tr3*/
.tr3{ line-height:1.5;}
.tr3 td,.tr3 th{border-bottom:1px dotted $tdcolor;padding:.4em .6em;}
.tr3 th{text-align:left;font-weight:normal;}
.z .tr3:hover{background:$forumcolortwo;}
.tr4{background:$forumcolortwo;padding-left:12px;height:27px;line-height:27px;}
.tr td,.tr th{padding:2px}
/*浏览页*/
h1{font-size:16px;margin:15px;color:#008ef1;}
.honor{line-height:130%;padding:3px 8px 5px 12px;overflow:hidden;color:#777;}
.tpc_content{font-family:Arial;padding:0 2em 2em 2em;margin:0;line-height:2em;}
.tpc_content font{line-height:1.1em;}
.tpc_content a{text-decoration:none;color:#0070AF;}
.tpc_content a:hover{text-decoration:underline}
.tips{background:#fdfffc;border:$cbgborder 1px solid;padding:5px;margin:5px 15px 5px 15px;text-align:left;line-height:20px;float:left;}
.tips li{list-style:none;width:30%;height:24px;min-width:210px;margin:0 5px;float:left;overflow:hidden;text-overflow:ellipsis;}
.tiptop{border-bottom:1px dashed #ccc ;padding:0 0 0 1px;height:27px;line-height:27px;margin:0 1em 0 1em;}
.tipad{margin:2em 1em 0 1em;padding-bottom:10px;}
.tipad .fr a{color:#888;}
.blockquote3{width:80%;border:1px dashed #CCC;background:#f7f7f7 url($imgpath/blockquote3.png) right top no-repeat;margin:10px 0;padding:5px 10px;}
.blockquote3 .quote{color:#999;font-size:12px;}
.blockquote3 .text{padding:0 10px 10px 10px;}
.blockquote{width:65%;zoom:1;padding:5px 8px 5px;line-height:1.3;border:1px dashed #eda85f;background:#fff7dd;color:#000;margin:0 15px;}
.quote{width:67%;}
.block-img{background:#fff7dd url($imgpath/attention.png) 8px 6px no-repeat;padding-left:28px;margin:0 15px 10px;}
.blockquote2{border: 1px solid; border-color: #c0c0c0 #ededed #ededed #c0c0c0;margin:0px;padding:0 0 0 2em;line-height:2em;overflow:hidden;background:#fff}
.blockquote2 ol{margin:0 0 0 1.5em;padding:0;}
.blockquote2 ol li{border-left:1px solid #ccc;background:#f7f7f7;padding-left:10px;font-size:12px;font-family:"Courier New" serif;list-style-type:decimal-leading-zero;padding-right:1em;}
.blockquote2 ol li:hover{background:#fff;color:#008ef1;}
.blockquote2 ul li {list-style-type:disc;}
.blockquote2 ol li{list-style-type:decimal;}
.tr5 td{border-right:1px solid $tdcolor;border-bottom:1px solid $tdcolor;background:$forumcolortwo;padding-left:.5em}
/*menu*/
.menu{position:absolute;background:#fff;border:1px solid $tablecolor;}
.menu a{display:block;padding:4px 8px;}
/*pages*/
.pages{float:left;border:1px solid $tdcolor;height:24px;line-height:24px;margin:3px 5px 3px 0;}
.pages ul{padding:0; margin:0}
.pages ul li{list-style:none;float:left;}
.pages ul li a{display:block;padding:0 7px 0 7px;}
.pages ul li b{padding:0 5px 0 9px;background:#f7fadd;display:block;color:#FA891B;}
.pages ul li a:hover{background:#f7fadd;color:#FA891B;text-decoration:none;}
.pages ul .pagesone{height:24px;_height:23px;margin-left:5px;border-left:1px solid $tdcolor;padding-left:12px;background:#fefff3;}
.pages input{border:1px solid $tdcolor;font:12px/15px Verdana;height:14px;color:$cbgfont;margin-right:5px;margin-bottom:3px;*margin-bottom:2px;_margin-top:3px;}

/*导航用户信息头像*/
.portrait-m{ width:40px;height:40px; background:url($imgpath/$stylepath/portrait-bg-m.png) 3px 3px no-repeat; padding:7px }
.portrait-s{ width:18px;height:18px; background:url($imgpath/$stylepath/portrait-bg-s.png) 2px 2px no-repeat; padding:7px; vertical-align: middle }

/*底部*/
#footer{padding:8px 0 15px;}
#footer a{color:#333;}
.bottom{margin:0 auto 15px;}
.bottom ul{ padding:0; margin:0; list-style:none;}
.bottom ul li{ padding:0 1em 0 0;display:inline;}
.bottom ul li a{white-space:nowrap;}

/*5像素圆角*/
.bottom .y-bg2,.bottom .y-bg3,.bottom .y-bg4{background:$cbgcolor;}
.y-bg{margin:0 4px;border-top:1px solid $tablecolor;}
.y-bg2{margin:0 2px;height:1px;border:2px solid $tablecolor;border-top:0;border-bottom:0;overflow:hidden;}
.y-bg3{margin:0 1px;height:2px;border:1px solid $tablecolor;border-top:0;border-bottom:0;overflow:hidden;}
.y-bg4{padding:0 10px;border:1px solid $tablecolor;border-top:0;border-bottom:0;overflow:hidden;}

/*ad*/
.ad-text{margin:5px auto;}
.ad-text td{padding:.3em 0;}

/*头部独立出来的样式*/
/*顶部导航*/
.nav-operate{ margin:auto;}
.nav-operate td{padding:1em .5em}
.nav-operate a{display:block;width:80px;text-align:center;color:#fff;}
.nav-operate .nav-more,.nav-operate .nav-more:hover{background:none;}
.nav-operate img{width:50px;height:50px;}
/*栏目导航*/
.nav{width:980px;height:35px;margin:auto;padding-top:2px;}
.nav ul{padding-left:2em;font-size:14px;}
.nav li{float:left;background:url($imgpath/$stylepath/mode-guide.png) right 9px no-repeat;}
.nav li a{display:block;height:32px;float:left;line-height:32px;padding:0 12px;font-weight:700;color:#3373a4;}
.nav .current{background:url($imgpath/$stylepath/mode-guide-a.png) left top no-repeat;}
.nav .current a{background:url($imgpath/$stylepath/mode-guide-a.png) right top no-repeat;margin-left:8px;_margin-left:4px;padding-right:1.5em;color:#ff6000;}
.nav-bbs a{color:#555;display:block;float:left;margin-top:10px;padding: 0 .5em;}
.nav-global{float:left;margin:4px 12px 0 0;padding-left:0px}
/*用户登录*/
.nav-user{ padding-left:.7em; height:35px; border-left:1px solid #ccc; float:right;}
.nav-user td{ padding:0 .7em 0 0; font-size:12px}
.nav-user table{ height:35px}
.user-table td{padding:1em 1em .5em 2em;}
.nav-user .icon-meg,.nav-user .icon-meg2{ width:20px; height:25px; margin:5px .1em;float:left; background:url($imgpath/$stylepath/meg-read.gif) center center no-repeat; text-indent:-2000em; overflow:hidden}
.nav-user .icon-meg2{ background-image:url($imgpath/$stylepath/meg.gif);}
.hide{display:none}
#stealth{position:absolute;margin-left:16px;*margin-left:-16px;margin-top:16px;width:11px;height:11px;background:url($imgpath/$stylepath/stealth.gif) 0 0 no-repeat;}
.userinfo-gps{margin-left:195px;margin-top:-6px;}
.userinfo-gps .nav-user{margin:0;padding:0;border-left:0;}
.userinfo-gps a{padding:0;}
.userinfo-gps .b{width:auto;}
.userinfo-gps .b a{padding:0 9px 0 1px;margin:8px 0 0;}
.userinfo-gps .menu-half{padding-left:39px;}
.userinfo-gps .menu-half li{padding:3px 0;}
.userinfo-gps .icon-set{margin-left:1px;}
/*thread*/
.t-list{padding-top:5px;}
.t-list li{text-align:center;float:left;padding:0 2px 2px 0;}
.t-list a{display:block;height:20px;width:130px;background:url($imgpath/$stylepath/t-list.png);line-height:20px;*line-height:22px;overflow:hidden;}
.t-list a:hover{background-position:0 -20px;text-decoration:none;color:#ff6600;}
.t-list .active,.t-list .active:hover{background-position:0 -40px;}

/*板块导航*/
.nav-cms{padding:1em 0;}
.nav-cms li{width:98px;margin:0 3px 0 0;float:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.nav-cms li a{display:block;height:25px;line-height:25px;color:#21394b;}
.nav-cms li a:hover,.nav-cms li .active{background:url($imgpath/$stylepath/forum-li.png);width:98px;color:#21394b;text-decoration:none;}
.nav-cms li a span{cursor:pointer;float:left;width:78px;margin:0 10px;text-align:center;overflow:hidden;}

/*小弹出框*/
.menu-post{border:2px solid #ecf0eb;padding:1px;background:#c1cebc;}
.menu-post .menu-b{border:1px solid #fff;background:#f8f9f7;}
.menu-half li{width:45%;float:left;}
.menu-top{font-weight:700;color:#008800;background:#e0eade url($imgpath/$stylepath/menu-post.png) 8px center no-repeat;border-bottom:1px solid #c1cebc;padding:.4em 1em .2em 2em;}
.menu-left a,.menu-right a{color:#333;}
.menu-left{font-weight:700;text-align:left;width:140px;padding:10px 0;vertical-align:top;background:#ecf1eb;border-right:1px solid #cfdacc;}
.menu-right{ vertical-align:top;padding:5px 10px;border-bottom:1px solid #e8e8e8;border-top:1px solid #fff;}
.menu-right ul:after{content:".";display:block;height:0;clear:both;visibility:hidden;}
.menu-right ul{zoom:1;}
.menu-right ul li{line-height:30px;height:30px;float:left;margin-right:10px;width:8em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/*大弹出框 popout*/
.popout{}/**/
.popoutContent{background:#fff;border:1px solid $headborder;}
.bgcorner1,.bgcorner2,.bgcorner3,.bgcorner4,.pobg1,.pobg2,.pobg3,.pobg4{filter:Alpha(opacity=30);_filter:Alpha(opacity=30);opacity:.3;overflow:hidden; z-index:1005; line-height:0 }
.bgcorner1,.bgcorner2,.bgcorner3,.bgcorner4{width:8px;height:8px;background:url($imgpath/pwicon/bgcorner.gif) no-repeat;}
.bgcorner1{background-position: 0 0 }
.bgcorner2{background-position: -8px 0 } 
.bgcorner3{background-position: -8px -8px}                                              
.bgcorner4{background-position:0 -8px}
.pobg1,.pobg2,.pobg3,.pobg4{ background:#000;}
.pobg1{height:8px; }
.pobg2{width:8px;}
.pobg3{height:8px;}
.pobg4{width:8px;}
.popoutContent td{padding:.5em .3em;}

/*icon*/
.xl-app a{background:url($imgpath/pwicon/app-icon.png) no-repeat;}
/*底部浮动*/
.h2A{background:#789dc0;padding:.3em .5em;font-size:12px;color:#fff;display:block;height:18px;line-height:18px;}
.bgB{background:#f9f9f9}
/*快捷应用*/
.app-using{position:absolute;bottom:0;left:120px;}
.app-using a{display:block;text-indent:-2000em;float:left;background:url($imgpath/pwicon/app-upicon.png) no-repeat;height:23px;width:16px;padding:0 10px;border-left:1px solid #e5e5e5;border-right:1px solid #e5e5e5;}
.app-using a:hover{background-color:#fff;border-left:1px solid #ccc;border-right:1px solid #ccc;}
.u-postlist-s{padding-bottom:1em;width:100%;float:left}
.u-postlist-s li{padding-left:5%;margin:.3em 0;float:left ;width:90%;}
.listTable{margin:0 1em .5em}
/*底部快捷方式栏*/
.startbar-wrapper {width:100%;position:fixed;bottom:0;z-index:1000;}
.startbar-wrapper a{color:#5A7BBC}
.startbar{margin-left:15px;margin-right:15px;height:25px;background:#e5e5e5;border-top:2px solid #fff}
.startbar-ui{height:24px; border:1px solid #C7C7C7;border-bottom:0;background:url($imgpath/pwicon/dot2line.png) repeat-x;padding:1px 1px 0 1px}
/*浮动快捷栏图标*/
.butt-app {position:absolute;bottom:0px;left:16px;height:16px;padding:4px;cursor:pointer;line-height:100%;*line-height:16px;color:#666;}
.friend-app:hover,.message-app:hover,.butt-app:hover{background-color:#fff}
.butt-app,.butt-app-current {width:65px;padding-left:30px;border-right:1px solid #ccc;background:url($imgpath/pwicon/app-menu.png) no-repeat 8px 5px  }
.butt-app-current{width:95px;padding:0}
.butt-app-current .butt-app{height:15px;position:absolute;left:15px;background-color:#fff;border:1px solid #999;border-top:0;z-index:1002 }
.app-menuList{width:250px;background-color:#fff;position:absolute;z-index:1001;bottom:24px;border:1px solid #999;margin-left:-2px}
.friend-app,.message-app{height:16px;padding:4px;cursor:pointer;line-height:100%;*line-height:16px;color:#666;}
.message-app,.message-app-current,.friend-app,.friend-app-current{width:60px;padding-left:30px;border-left:1px solid #ccc;}
.message-app,.message-app-current,.message-app-new{background:url($imgpath/wind/meg-read.gif) no-repeat 10px 6px;position:absolute;bottom:0px;right:110px;}
.message-app-new{background-image:url($imgpath/wind/meg.gif)}
.message-app-current{width:58px;padding:0;}
.message-app-current .message-app{height:15px;position:absolute;background-color:#fff;border:1px solid #999;border-top:0;z-index:1002;right:-1px;}
.message-app-current .app-menuList{right:-95px;max-height:250px;overflow:hidden;width:250px;}
.message-app-current .listTable td{border-bottom:1px solid #eee;padding:.5em}
.friend-app,.friend-app-current{background:url($imgpath/pwicon/app-friend.png) no-repeat 10px 4px;position:absolute;bottom:0px;right:16px;}
.friend-app-current{width:58px;padding:0;}
.friend-app-current .friend-app{height:15px;position:absolute;background-color:#fff;border:1px solid #999;border-top:0;z-index:1002;right:-1px;}
.friend-app-current .app-menuList{right:-1px;}
.friend-app-current .app-menuList .bgB a,.message-app-current .app-menuList .bgB a{padding:0 10px;white-space:nowrap;}
.friend-app-current .u-postlist-s{padding-top:5px;}
.friend-app-current .friend-app,.message-app-current .message-app,.butt-app-current .butt-app{bottom:1px;_bottom:0px;}
.listAppItem{padding:0 .5em 1em}
.listAppItem ul{padding:.5em;}
.listAppItem li{width:95%;float:left;padding-bottom:.35em;}
.listAppItem li a{width:85%;float:left;padding-left:20px;background:url($imgpath/pwicon/app-icon.png) no-repeat}
.u-postlist-s .pwb_mess{line-height:30px;*line-height:32px;_line-height:30px;cursor: pointer;}
$extcss /*自定义css*/
</style><!--css-->
<!--
EOT;
}if($yeyestyle){print <<<EOT
-->
<style type="text/css">/*竖线风格输出*/
.tr3 td,.tr3 th{border-right:1px solid $tdcolor;}
.tr4 td{border-right:1px solid $tdcolor;}
.y-style{text-align:center;}
.tr1 th{border-right:1px solid $tdcolor;}
.tr1 td.td1{border-left:0}
</style>
<!--
EOT;
} print <<<EOT
-->
<!--[if IE]>
<style type="text/css">
.tr1 td.td1{border-top:0}
.t4{padding:0}
.t table{border-collapse:collapse;}
.t {padding:0}
</style>
<![endif]-->
<!--
EOT;
?>