Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[求助] 请高手帮我看下这段代码有没有问题?

[复制链接]
zhoudexi2000 发表于 2011-3-13 16:27:26 | 显示全部楼层 |阅读模式
<!--{block return}-->
<!-- XShow v1.2.70 -->
<!--{if $kk_xshow['prompt']}-->
<script type="text/javascript" src="source/plugin/kk_xshow/images/title.js"></script>
<!--{/if}-->
<script type="text/javascript">
<!--
function xshowShow(id) {
for(i = 1;i <= {$tab_num};i++) {
  if(i == id){
   $('kk_xshow_tab_'+i).className='tab_cur';
   $('kk_xshow_cont_'+i).style.display='';
   continue;
  }
  try {
   $('kk_xshow_tab_'+i).className='tab';
   $('kk_xshow_cont_'+i).style.display='none';
  } catch(e) {
   return true;
  }
}
}
//-->
</script>
<style type="text/css">
<!--
.kk_xshow{width:{WRAPWIDTH};margin:0 5px 5px 10px;padding:5px 0 2px 0;background:{WRAPBG};border:{WRAPBORDER} solid {WRAPBORDERCOLOR};}
.kk_xshow table {background:{WRAPBG};text-align:left;border:none;}
.kk_xshow .header td{text-align:center;height:25px;border-bottom:1px solid {COMMONBORDER};{$userdefinecss}}
.kk_xshow .border{}
.kk_xshow .txt_con td{padding:5px;}
.kk_xshow .txt td{padding:0;vertical-align:top;}
.kk_xshow .txt li{width:100%;height:20px;background:url('source/plugin/kk_xshow/images/listbg.gif') repeat-x;overflow:hidden; *margin:0 0 0 -16px; list-style:none}
.kk_xshow .txt span{float:right;}
.kk_xshow .fiveline{border-top:1px solid {COMMONBORDER};padding: 0 5px;}
.kk_xshow .fiveline img{width:48px;heigth:48px;margin:2px 8px 0 0;border:1px solid {COMMONBORDER};}
.kk_xshow .tabs {cursor:pointer; margin:1px 0; border-left:1px solid {COMMONBORDER};}
.tabs li{
   float:left;
   margin:0 4px -1px 0;
   position:relative;
   float:left;
   cursor:pointer;
   line-height:25px;
   height:25px;
   padding:2px 8px;
   border-bottom-left-radius: 0px 0px;
   border-bottom-right-radius: 0px 0px;
   border-top-left-radius: 4px 4px;
   border-top-right-radius: 4px 4px;
   -moz-border-radius-bottomleft:0;
   -moz-border-radius-bottomright:0;
   -moz-border-radius-topleft:4px;
   -moz-border-radius-topright:4px;
   
     -webkit-border-top-left-radius: 4px;
     -webkit-border-top-right-radius: 4px;
     -webkit-border-bottom-left-radius: 0px;
     -webkit-border-bottom-right-radius: 0px;
   
   background:#F4F4F4 repeat-x scroll 0 0;
   border:1px solid #DDD;
   display:block;
   padding:0 10px;
   {DXHSUBFONT}
}
.kk_xshow .tab_cur {cursor:pointer;font-weight:700;color:#005DC3;background:#FFF;border-bottom-color:#FFF;margin:0 4px -1px 0;position:relative;}
.popupmenu_popup {
background:none repeat scroll 0 0 #FEFEFE;
border:1px solid #7FCAE2;
overflow:hidden;
padding:10px;
text-align:left;
}
.kk_xshow .kk_avatar{float:left;margin-left:8px;width:15px;border:1px solid #DDDDDD;text-align:center;text-valign:center;display:inline;}
-->
</style>
<div class="kk_xshow">
  <table cellspacing="0" cellpadding="0" width="99%" align="center">
   <tr class="header"><td class="border">
      <!--{if $pic_on}--><ul class="tabs"><li class="tab_cur">{$x_title[0]}</li></ul></td><td class="border"><!--{/if}--><ul class="tabs">
      <li id="kk_xshow_tab_1" class="tab_cur">{$x_title[1]}</li>
    <li id="kk_xshow_tab_2" class="tab">{$x_title[2]}</li>
    <li id="kk_xshow_tab_3" class="tab">{$x_title[3]}</li>
<!--{if !$kk_xshow['five_list']}-->
    <li id="kk_xshow_tab_4" class="tab">{$x_title[4]}</li>
<!--{/if}-->
</li></ul></td>
    </tr>
    <tr class="txt_con">
<!--{if $pic_on}-->
<td width="40%" class="border">
        <script type="text/javascript">
          var config = '{$kk_xshow['pic_cut']}|0xffffff|{$pic_color}|50|0xffffff|{$pic_color}|0x000000';
          var files = '{$picpics}';
   var links = '{$piclinks}';
   var texts = '{$pictexts}';
   document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="100%" height="{$pic_height}">');
          document.write('<param name="movie" value="source/plugin/kk_xshow/images/focus.swf" />');
          document.write('<param name="quality" value="high" />');
          document.write('<param name="menu" value="false" />');
          document.write('<param name="wmode" value="transparent" />');
          document.write('<param name="FlashVars" value="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'" />');
   document.write('<embed src="source/plugin/kk_xshow/images/focus.swf" wmode="opaque" FlashVars="config='+config+'&bcastr_flie='+files+'&bcastr_link='+links+'&bcastr_title='+texts+'" menu="false" quality="high" width="100%" height="{$pic_height}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
          document.write('</object>');
        </script>
</td>
<!--{/if}-->
<td width="55%" class="border">
  <table cellpadding="0" cellspacing="0" class="txt">
   <tr>
    <td><div style="height:{$thread_height}px;overflow:hidden;"><img src="source/plugin/kk_xshow/images/list.gif" alt="" /></div></td>
    <td width="100%">
     <!--{if $newPost}-->
     <div id="kk_xshow_cont_1" style="">
      <!--{loop $newPost $thread}-->
      <li >
      <!--{if $kk_xshow['is_author']}--><span><a style="color:{$author_color}" href="<!--{if $kk_xshow['Rewrite']}-->space-uid-$thread['authorid'].html<!--{else}-->home.php?mod=space.php&uid=$thread['authorid']<!--{/if}-->">[{$thread['authors']}]</a></span><!--{/if}-->
      <!--{if $thread['replies']}-->
<a{$linkwindow} href="<!--{if $kk_xshow['Rewrite']}-->thread-$thread['tid']-1-1.html<!--{else}-->forum.php?mod=viewthread&tid=$thread['tid']<!--{/if}-->"{$thread['highlight']} title="{$propre[0]}$thread['name']\n{$propre[1]}$thread['subject']\n{$propre[2]}$thread['author'] ($thread['date'])\n{$propre[3]}$thread['views']{$propre[4]}\n{$propre[5]}$thread['lastposter'] ($thread['retime'])\n{$propre[5]}$thread['replies']{$propre[4]}">$thread['view_subject']</a>
      <!--{else}-->
                <a{$linkwindow} href="<!--{if $kk_xshow['Rewrite']}-->thread-$thread['tid']-1-1.html<!--{else}-->forum.php?mod=viewthread&tid=$thread['tid']<!--{/if}-->"{$thread['highlight']} title="{$propre[0]}$thread['name']\n{$propre[1]}$thread['subject']\n{$propre[2]}$thread['author'] ($thread['date'])\n{$propre[3]}$thread['views']{$propre[4]}\n{$propre[6]}">$thread['view_subject']</a>
      <!--{/if}-->
      </li>
      <!--{/loop}-->
     </div>
     <!--{/if}-->
     <!--{if $newReply}-->
     <div id="kk_xshow_cont_2" style="display:none;">
      <!--{loop $newReply $thread}-->
      <li>
      <!--{if $kk_xshow['is_author']}--><span><a style="color:{$author_color}" href="<!--{if $kk_xshow['Rewrite']}-->space-username-$thread['lastposter'].html<!--{else}-->home.php?mod=space&name=$thread['lastposter']<!--{/if}-->">[{$thread['lastposter']}]</a></span>
      <!--{/if}--><a{$linkwindow} href="<!--{if $kk_xshow['Rewrite']}-->forum-redirect-tid-$thread['tid']-goto-lastpost.html#lastpost<!--{else}-->forum.php?mod=redirect&tid=$thread['tid']&goto=lastpost#lastpost<!--{/if}-->"{$thread['highlight']} title="{$propre[0]}$thread['name']\n{$propre[1]}$thread['subject']\n{$propre[2]}$thread['author'] ($thread['date'])\n{$propre[3]}$thread['views']{$propre[4]}\n{$propre[5]}$thread['lastposter'] ($thread['retime'])\n{$propre[5]}$thread['replies']{$propre[4]}">$thread['view_subject']</a>
      </li>
      <!--{/loop}-->
     </div>
     <!--{/if}-->
     <!--{if $ObjArray}-->
     <div id="kk_xshow_cont_3" style="display:none;">
      <!--{loop $ObjArray $thread}-->
      <li>
      <!--{if $kk_xshow['is_author']}--><span><a style="color:{$author_color}" href="<!--{if $kk_xshow['Rewrite']}-->space-uid-$thread['authorid'].html<!--{else}-->home.php?mod=space&uid=$thread['authorid']<!--{/if}-->">[{$thread['authors']}]</a></span><!--{/if}-->
                    <a{$linkwindow} href="<!--{if $kk_xshow['Rewrite']}-->thread-$thread['tid']-1-1.html<!--{else}-->forum.php?mod=viewthread&tid=$thread['tid']<!--{/if}-->"{$thread['highlight']} title="{$propre[0]}$thread['name']\n{$propre[1]}$thread['subject']\n{$propre[2]}$thread['author'] ($thread['date'])\n{$propre[3]}$thread['views']{$propre[4]}\n{$propre[5]}$thread['lastposter'] ($thread['retime'])\n{$propre[5]}$thread['replies']{$propre[4]}">$thread['view_subject']</a>
      
      </li>
      <!--{/loop}-->
     </div>
     <!--{/if}-->
     <!--{if $postStar && !$kk_xshow['five_list']}-->
     <div id="kk_xshow_cont_4" style="display:none;">
      <!--{loop $postStar $result}-->
      <li>
      <span style="color:{$authnum_color}">[{$result['num']}]</span><a title="$result['autitl'] ($result['num'])" href="<!--{if $kk_xshow['Rewrite']}-->space-uid-$result['authorid'].html<!--{else}-->home.php?mod=space&uid=$result['authorid']<!--{/if}-->">$result['author']</a>
      </li>
      <!--{/loop}-->
     </div>
     <!--{/if}-->
    </td>
   </tr>
  </table>
</td>  
</tr>
   <!--{if $postStar && $kk_xshow['five_list']}-->
   <tr>
    <td colspan="2">
     <div class="kk_avatar">{$x_title[4]}</div>
     <!--{loop $postStar $result}-->
     <div style="float:left;margin-left:8px;"><ul><a title="{$result['autitl']} [{$result['num']}]" href="<!--{if $kk_xshow['Rewrite']}-->space-uid-$result['authorid'].html<!--{else}-->home.php?mod=space&uid=$result['authorid']<!--{/if}-->">$result['avatar']</a><ul>
        <ul style="text-align:center;">{$result['author']}</ul>
     </div>
     <!--{/loop}-->
    </td>
   </tr>
   <!--{/if}-->
</table>
</div>
<!-- kk_xshow end -->
<!--{/block}-->
为什么我放上去后,那虚线不到右边呢?文字也没有居左。高手帮解决下,谢谢

121.jpg
回复

使用道具 举报

爱情博物馆 发表于 2011-3-13 17:02:39 | 显示全部楼层
回复

使用道具 举报

??苏瑾。 发表于 2011-3-13 17:22:32 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-8 17:02 , Processed in 0.096013 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表