- 積分
- 2753
- 威望
- 2753
- 金錢
- 1219
- 最後登錄
- 2024-6-13
|
第三方代码如下- <!--主题列表页仿19楼代码-->
- <script>if($("forumdisplay")!=null){function forum_beautify_ben(){var fd=$("forumdisplay").getElementsByTagName("tbody");for(i=0;i<fd.length;i++){var fds=fd[i];var au=fds.getElementsByTagName("td");for(t=0;t<au.length;t++){if(au[t].className=="author"){var aus=au[t].innerHTML.replace("<em>"," at <em>")}};var nu=fds.getElementsByTagName("td");for(c=0;c<nu.length;c++){if(nu[c].className=="nums"){var nus=nu[c].innerHTML}};var ic=fds.getElementsByTagName("td");for(o=0;o<ic.length;o++){if(ic[o].className=="icon"){var ics=ic[o].innerHTML}};var fo=fds.getElementsByTagName("td");for(h=0;h<fo.length;h++){if(fo[h].className=="folder"){var fos=fo[h].innerHTML}};var la=fds.getElementsByTagName("td");for(a=0;a<la.length;a++){if(la[a].className=="lastpost"){var las=la[a].innerHTML.replace("<em>"," at <em>")}};if(aus!=null){var su=fds.getElementsByTagName("th");for(b=0;b<su.length;b++){su[b].innerHTML=fos+su[b].innerHTML+'<div class="forum_at">'+ics+'<span>作者: '+aus+', 最后回复: '+las+', 回复/浏览: '+nus+'</span></div>'}}}};forum_beautify_ben();function GetStr(str,scode,ecode){var X=str.indexOf(scode)+scode.length;var Y=str.indexOf(ecode);return str.substring(X,Y)};function Custt(chyid){chyid='00000'+chyid;chyid=chyid.substring(chyid.length-6,chyid.length);chyid=chyid.substring(0,2)+'/'+chyid.substring(2,4)+'/'+chyid.substring(4,6);return'<div style="width:28px;padding-top:2px;"><img src="/uc_server/data/avatar/000/'+chyid+'_avatar_middle.jpg" style="width:35px;height:35px;border:1px solid #ccc;padding:2px;margin:0px;background-color:#fff;" onerror="this.onerror=null;this.src=\'uc_server/images/noavatar_middle.gif\'" /></div>'};function ChyAvatar(){var chytd=document.getElementsByTagName('td');for(i=0;i<chytd.length;i++){if(chytd[i].className=="author"){if(chytd[i].innerHTML.indexOf('uid')>=1){chytd[i].innerHTML=Custt(GetStr(chytd[i].innerHTML,'uid-','.htm'))}}}};ChyAvatar()}</script>
- <!--隐藏板块名称前面的气泡-->
- <style>
- .list th.new {background: none scroll 0% 0% !important;padding-left: 10px !important;}.list th {background: none scroll 0% 0% !important;padding-left: 10px !important;}
- </style>
- <!--顶部开启盲人体验图片-->
- <style>#Jasper_GB img{padding-bottom:4px;padding-right:3px;}
- /*CSS code Write by Jasper. */
- #Jasper_toptb{height:2px;}#Jasper_toptb .quickbutton_y{float:right;}#Jasper_toptb .quickbutton_z{float:left;} #Jasper_toptb a{color:#FFFFFF;padding:0 4px;}</style>
複製代碼 头部代码如下- <!--主题列表页仿19楼代码-->
- <Style>td.icon {width: auto; }.datalist .datatable th,th.subject span{padding-left:5px;}.datalist th img {vertical-align: middle;}.forum_at,.forum_at a,.forum_at em, .forum_at em a{color:#aaa !important;}.forum, .author, .lastpost { width:30px; }#forumdisplay .datatable td.folder,.colplural,#forumdisplay .datatable th.subject .forum_at,#forumdisplay .datatable td{display:none;}#forumdisplay .datatable th.lock .forum_at,#forumdisplay .datatable th.new .forum_at,#forumdisplay .datatable th.hot .forum_at,#forumdisplay .datatable th.common .forum_at{display:block;}#forumdisplay .datatable td.author{display: table-cell;}.</style>
複製代碼 |
-
1
評分人數
-
|