<!--<?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;}
h3,h2{display:inline;font-size:1.0em;}
h3{font-weight:normal}/*h3 文章列表页文章标题*/
h2 a{color:#000;}/*h2 版块列表页版块名称标题*/
h3 a{color:#444;zoom:1;}
h4{margin:20px 0 10px;font-size:1.1em}
/*a link 基本连接颜色*/
a{text-decoration:none;color:#0070AF;}
a:hover{text-decoration:underline;}
/*内补丁*/
.pdD{padding:.3em .5em}
.p10{padding:11px;}
/*main color 数值自定义*/
.f_one,.t_one,.r_one{background:$forumcolorone;}
.f_two,.t_two,.r_two{background:$forumcolortwo;}
/*按钮*/
.btn{border-color: #4c9542 #668f01 #668f01 #4c9542;margin-right:1em;color:#fff;background:#89bf01;}
.btn,.bt{border-width:1px;cursor:pointer;padding:.1em 1em;*padding:0 1em;font-size:9pt; line-height:130%; overflow:visible}
.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:1px solid $tdcolor;}
.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 $tdcolor;padding:3px;background:$forumcolorone;}
.img a:hover img{border:1px solid $headborder;background:$forumcolorone;}
.u-img img{padding:1px;background:$forumcolorone;border:1px solid $tdcolor;}
/*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{border: 1px solid; border-color: #c0c0c0 #ededed #ededed #c0c0c0;}

/*全局*/
#header{min-width:980px;}
.head-wrap{background:#6f94b7 url($imgpath/$stylepath/head-top.png) 0 top repeat-x;} /*top背景*/
#head{width:980px;margin:0 auto;}
#main{width:$tablewidth;margin:0 auto;min-width:980px;max-width:1200px;padding-top:1px;}  /*内容*/
/*文字ad*/
.ad-text{margin:5px auto 0;border:1px dotted $tdcolor;border-bottom:0;}
.ad-text td{padding:.3em 0;}
/*nav背景*/
.nav-wrap{background:url($imgpath/$stylepath/head-bg.png) 0 bottom repeat-x #eee;min-width:980px;}
#topbar{margin:auto;max-width:1200px;}
#nav-top{border-top:0;padding:6px 10px 0;line-height:14px;}
#nav-top li{float:left;margin-left:1em;}
#nav-top a{color:#fff;}
/*顶部导航*/
#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{width:980px;height:36px;margin:auto;}
#nav-global{padding-left:2em;font-size:14px;float:left;margin:4px 12px 0 0;}
#nav-global li{float:left;background:url($imgpath/$stylepath/mode-guide.png) right 9px no-repeat;}
#nav-global li a{display:block;height:32px;float:left;line-height:32px;padding:0 12px;font-weight:700;}
#nav-global .current{background:url($imgpath/$stylepath/mode-guide-a.png) left top no-repeat;}
#nav-global .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-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}
#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;}
.user-table td{padding:1em 1em .5em 2em;}
/*位置*/
#breadCrumb{padding:10px 0 5px;color:#999;}
/*底部*/
#footer{padding:8px 0 30px;width:$tablewidth;margin:0 auto;min-width:980px;max-width:1200px;}
.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;}
/*公告*/
#notice{border:1px solid $tdcolor;padding:.3em 0 .3em 1em;height:18px;overflow:hidden;background:$forumcolortwo url($imgpath/$stylepath/file/anc.png) 8px 7px no-repeat;margin-top:.5em;}
#notice li{list-style:none;float:left;white-space:nowrap;padding-left:1.5em;height:18px;}
#notice a{padding-right:.5em;}
/*table*/
.t{border:1px solid $tablecolor;}
.t table{width:100%;border:1px solid $forumcolorone;}
.t3{margin:5px auto;}
.t5{border:1px solid $tdcolor;}
.t,.t5{margin:0 auto 10px; height:auto; overflow:hidden;}
/*table head*/
.h{border-bottom:1px solid $headborder;background:$headcolor url($imgpath/$stylepath/h.png) repeat-x;text-align:left;color:$headfontone;padding:0 .5em; line-height:2.4em;}
.h span{font-weight:normal;}
.h h2{font-weight:bold}
.h a{font-family:Arial;color:$headfontone}
.h span a,.h span{color:$headfonttwo;}
.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 dotted $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;}
.tr td,.tr th{padding:2px}
.tr5 td{border-right:1px solid $tdcolor;border-bottom:1px solid $tdcolor;background:$forumcolortwo;padding-left:.5em}/*帖子表格*/
/*浏览页*/
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 15px 2em 15px;margin:0;line-height:2em;}
.tpc_content font{line-height:1.5em;}
.tpc_content a{text-decoration:none;color:#0070AF;}
.tpc_content a:hover{text-decoration:underline}
.tpc_content ol{list-style-type:decimal;}
.tpc_content ul{list-style-type:disc;}
.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;line-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 15px 0 15px;}
.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 ol li{list-style-type:decimal;}
/*pages*/
.pages{border:1px solid $tdcolor;margin:3px 10px 3px 0;height:24px;line-height:24px;float:left;}
.pages a,.pages b,.pages .pagesone{display:block;float:left;}
.pages a{padding:0 7px;color:#333;}
.pages b{padding:0 7px;background:$cbgborder;color:$cbgfont;}
.pages a:hover{background:$forumcolortwo;text-decoration:none;}
.pages .pagesone{border-left:1px solid $tdcolor;background:$forumcolortwo;font:12px Verdana;height:21px;_height:23px;padding:3px 4px 0 8px;_padding:1px 4px 0 8px;}
.pages input{border:1px solid $tdcolor;padding-left:1px;}
/*userimg*/
.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 }
/*5像素圆角*/
.bottom .y-bg2,.bottom .y-bg3,.bottom .y-bg4{background:$cbgcolor;}
.y-bg{margin:0 4px;border-top:1px solid $tdcolor;}
.y-bg2{margin:0 2px;height:1px;border:2px solid $tdcolor;border-top:0;border-bottom:0;overflow:hidden;}
.y-bg3{margin:0 1px;height:2px;border:1px solid $tdcolor;border-top:0;border-bottom:0;overflow:hidden;}
.y-bg4{padding:0 10px;border:1px solid $tdcolor;border-top:0;border-bottom:0;overflow:hidden;}
/*menu*/
.menu{position:absolute;background:#fff;border:1px solid $tdcolor;}
.menu a{display:block;padding:4px 8px;}
/*下来框*/
.menu-post{border:2px solid $tdcolor;padding:1px;background:$tablecolor;}
.menu-post .menu-b{border:1px solid #fff;background:$forumcolortwo;}
.menu-b .h{border-bottom:1px solid $headborder;}
.menu-half li{width:46%;float:left;}
.menu-half li a{float:left;}

/*弹出框 popout*/
.popoutContent{background:#fff;border:1px solid #4680b6;}
.bgcorner1,.bgcorner2,.bgcorner3,.bgcorner4,.pobg1,.pobg2,.pobg3,.pobg4{filter:Alpha(opacity=80);_filter:Alpha(opacity=80);opacity:.8;overflow:hidden; z-index:1005; line-height:0 }
.bgcorner1,.bgcorner2,.bgcorner3,.bgcorner4{width:5px;height:5px;background:url($imgpath/pwicon/bgcorner.gif) no-repeat;}
.bgcorner1{background-position: 0 0 }
.bgcorner2{background-position: -5px 0 }
.bgcorner3{background-position: -5px -5px}
.bgcorner4{background-position:0 -5px}
.pobg1,.pobg2,.pobg3,.pobg4{ background:#799fc3;}
.pobg1{height:5px; }
.pobg2{width:5px;}
.pobg3{height:5px;}
.pobg4{width:5px;}
.popoutContent td{padding:.5em .6em;border-bottom:1px solid $tdcolor;}

.u-postlist-s{padding-bottom:.5em;width:100%;float:left;}
.u-postlist-s li{padding-left:1.5em;margin:.3em 0;float:left; width:90%; overflow:hidden}
.listTable{margin:0 1em .5em}
/*icon*/
.xl-app a{background:url($imgpath/pwicon/app-icon.png) no-repeat;}
/*工具栏*/
.startbar-ui{position:relative;height:24px;border:1px solid $tablecolor;border-bottom:0;background:$headcolor url($imgpath/$stylepath/h.png) repeat-x;}
/*span color 数值自定义*/
.black,.black a{color:#333}
.s1{color:#008000;} /*绿*/
.s2{color:#984B98;} /*紫*/
.s3{color:#ff6600;} /*橙*/
.s4{color:#0033FF;} /*蓝*/
.s5{color:#659B28}  /*浅绿*/
.s7,.s7 a{color:#ff00a2;}
.s8,.s8 a{color:#006699;}
.gray,.gray a{color:#908c8c;} /*次要字颜色*/
.red{color:#ff0000;}/*红*/
.mode-main-left a,.blue,.blue a,.c-t-500 span a{color:#2384bc;} /*蓝*/
$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;
?>