.= $backupFirstPart; $realLastPart = $'; $firstPart = $'; } else { last; } } if($line == $LINE_NO || $line == $LINE_NO + 1) { $currentPart = $backupFirstPart; $firstPart = $realFirstPart.$currentPart; $html=$firstPart.$add.substr($realLastPart,length($currentPart),length($text)); } elsif($line > $LINE_NO+1) { my ($curPassageLen,$beforeLen); $currentPart = $backupFirstPart; $curPassageLen = &$myLength($currentPart); $beforeLen = $real_len - length($currentPart); $line_1 = int($curPassageLen/$wpl); $firstLen = $curPassageLen; if($line-1-$LINE_NO-$add_line > 0) { $firstLen = $firstLen - ($line-1-$LINE_NO-$add_line)*$wpl; if($add_line == 1) { $firstLen = $firstLen - ($curPassageLen - $line_1*$wpl); } } else { if($add_line == 1) { $firstLen = $firstLen - ($curPassageLen - $line_1*$wpl); } } $firstLen = &$myLength1($currentPart, $firstLen); $firstLen = &$myCheckText($currentPart, $firstLen); $firstPart = $realFirstPart.substr($currentPart, 0, $firstLen); $html=$firstPart.$add.substr($realLastPart,$firstLen,length($text)); } else { $firstPart = $text; $html=$firstPart.$add; } $html = &$myEncode($html); } #html:$htmlsolid;} a{text-decoration: underline;color: #009} /*a:visited{color:#800080;}*/ a:hover{color: #f00;} .f14links{line-height:23px;} .f14links,.f14links a{font-size:14px;color:#009;} .f14links a:hover{color:#F00;} .f14links li{padding-left:13px;background:url(http://www.sinaimg.cn/dy/legal/2006index/news_law_hz_012.gif) no-repeat 3px 45%;} .clearit{clear:both;font-size:0;line-height:0;height:0;} #wrap{width:950px; overflow:hidden; margin:0 auto;background:#FFF;text-align:left;} .split{font-size:0;line-height:0;clear:both;height:6px;} .lsplit{font-size:0;line-height:0;clear:both;height:15px;} /*顶部导航开始*/ /* 070328修改 ws begin */ .top_bar{text-align:center; background:#fff; border-bottom:1px #ddd solid; height:27px; color:#acb4be; margin-bottom:8px; width:950px;} .top_bar a{color:#009; display:block; height:13px; overflow:hidden; margin:8px 0 0 0; text-align:center;} .top_bar a:hover{color:#c00;} a.navnoline{border-right:0;} .top_bar_sline{width:3px; color:#acb4be; background:url(http://www.sinaimg.cn/dy/article/950/con_070328_ws_001.gif) no-repeat center 8px;} .logininfo{display:block;} .logininfo strong{display:block; float:right; padding:8px 0 0 10px; color:#999; text-align:right;} .logininfo a{width:30px; float:right;} /* 070328修改 ws end */ .lo_links{padding-left:10px;padding-top:2px;} /*正文左边控制开始*/ .lc_blue{background:url(http://www.sinaimg.cn/dy/article/950/con_070227_ws_002.gif) repeat-y #fff; border-bottom:1px #dedfde solid;} .lc_blue h1{text-align:center;padding:4px 0;font-size:22px;font-weight:bold;border-bottom:1px solid #becde5;margin:0 0 10px 37px;color:#03005C; width:575px;} .lc_blue .from_info{text-align:center;} .lc_blue .lcBlk{background:#f5fafe; padding:10px 0 0 0; border:1px #cbd7ec solid; border-top:none; border-left:none;} .artibody{margin:15px 25px;font-size:14px;line-height:23px;} .artibody img{border:1px solid #000;} .artibody p{font-size:14px;line-height:23px;margin:15px 0;} .toollinks{text-align:right;padding:8px 0;background:url(http://www.sinaimg.cn/bb/article/ar_hz_001.gif) repeat-x left top;margin:5px 25px;} .xgzt{border-top:1px solid #BECEE6;border-left:1px solid #BECEE6;} .xgzt a{font-size:14px;} .xgzt td{border-bottom:1px solid #BECEE6;border-right:1px solid #BECEE6;} .xgzt h2,.xgzt h3{margin:0;padding:0;padding:4px;font-size:14px;font-weight:bold;float:left;} /* 070227修改 ws begin */ .fixedBLK{border:1px solid #C6C6C6;background:#FFF;width:300px;float:left;} /* 070227修改 ws end */ .fixedBLK .title{background:#D4E3F6;} .fixedBLK .title h2{padding:4px 20px;background:url(http://www.sinaimg.cn/bb/article/ar_hz_002.gif) no-repeat 10px 45%;font-size:14px;color:#292929;} .fixedBLK .title h2 a {font-size:14px;color:#292929;text-decoration:none;font-weight:bold;} .fixedBLK .title h2 a:hover{color:#CC0000;text-decoration:underline;} .fixedBLK .content{padding:8px 9px 7px 9px;} .fixedBLK .content img{border:1px solid #000;} .fixedBLK .content .list{padding:0;} .rcb table{border-top:1px solid #EBB9E5;border-left:1px solid #EBB9E5;} .rcb td{border-right:1px solid #EBB9E5;border-bottom:1px solid #EBB9E5;padding:4px;} .rcb .user{background:#FBE0FD;color:#656565;} .rcb .commbody{background:#FFF url(http://www.sinaimg.cn/bb/article/ar_hz_003.gif) no-repeat 10px 45%;padding-left:30px;} .grayBLK{border:1px solid #C6C6C6;padding:6px 0;float:left;background:#F1F1F1;} .grayBLK td{line-height:20px;} .bAD{border:1px solid #C6C6C6;background:#FFF;} .adContent{padding:8px 0;} .fAD a{color:#2D2D2D;} .rd{font-size:0;line-height:0;height:1px;background:url(http://www.sinaimg.cn/bb/article/ar_hz_004.gif) repeat-x left top;margin:10px 0;} .bllink,.bll a{color:#000;} .pl15{padding-left:15px;} .greenlinks,.greenlinks a{color:#298F00;text-decoration:none;} .footer{padding:15px 0; color:#4d4d4d;} .footer a,.footer a:visited{color:#4d4d4d;} .footer a:hover{color:#f00;} .rc_trans,.vsplit{border-top:1px solid #cbd7ec;} .hotNC{border:1px solid #BECEE6;background:#FFF;margin:10px 0;} .hotNC h2{padding:5px;background:#E1EFFA;border-bottom:1px solid #BECEE6;font-size:14px;font-weight:bold;} .hotNC ul{padding:5px;} .hotNC li{padding-left:10px;background:url(http://www.sinaimg.cn/bb/article/ar_hz_008.gif) no-repeat 2px 45%;} .starSearchBLK{background:#F3F3F3;border:1px solid #CCC} .sw4f{width:74px;} /* 鼠标提示层CSS for JS by zhangping1 */ .mouseTipsCon { display:none;} .mouseTips { font-size:12px; text-align:left; position:absolute;z-index:999;width:384px;padding:0px 2px 2px 0;background:#FBE0FD; display:none;} .mouseTips dl{ border:1px solid #EBB9E5;background:#FFF;padding:4px 4px 4px 10px; } /* 鼠标提示层中标题的css */ .mouseTips dt{ color:#C50600; font-size:14px; line-height:20px; margin-bottom:4px; border-bottom:1px dashed #D6D8E4; } /* 鼠标提示层中列表的css */ .mouseTips dd{ line-height:20px; } /* 鼠标提示层中日期的css */ .mouseTips dd span {color:#5169E4;} /* 鼠标提示层中关闭按钮的css */ .closeTipBtn {cursor:pointer; position:absolute;z-index:99999; right:10px; top:5px;} /* 3取2 和2取1 容器中初始显示内容 css */ .tips1 {color:#F00; line-height:30px;} /* 默认广告不显示 css */ .adNone { display:none; } .rightShell{background:#FFF;padding-top:8px;} .yqlink a{font-size:14px;} .redLink a,.redLink a:hover,.redLink a:visited{color:#CC0000} .normalSearch{background:#F3F3F3;border:1px solid #CCC;} .babySearch{background:#FEF4FE;border:1px solid #DD96D4;} .allp4{padding:12px 0 8px 14px; line-height:23px;text-align:center;width:570px;overflow:hidden;} .allp4 .rp{width:1000px;} .allp4 .pic{width:132px;text-align:center;float:left;margin-right:9px} .allp4 .pic img{border:1px solid #000;} .allp4 p,.allp4 p a{font-size:12px;} .ADtit1{height:27px;clear:both;background:#000 url(http://www.sinaimg.cn/ty/af1/ar_hz_028.gif) no-repeat left top;} .ADtit2{height:27px;clear:both;background:#000 url(http://www.sinaimg.cn/ty/af1/ar_hz_029.gif) no-repeat left top;} p.adlink{text-align:center;} p.adlink a{color:#FFF;} p.adlink a:hover{color:#000;} /*ws 4-3 wkf*/ #adtext_1 a{color:#000} #adtext_1 a:visited{color:#000;} #adtext_1 a:hover{color:#f00;} .yqin {display:inline; height:0px; width:0px; position:absolute; text-align:left;} A.iask_f14:link,A.iask_f14:visited,A.iask_f14:active,A.iask_f14:hover {font-size:14px;text-decoration:none;color: #ff0000;} A.akey:link {text-decoration:none;color: #009;} A.akey:visited {text-decoration:none;color: #800080;} A.akey:active,A.akey:hover {text-decoration:underline;color : #ff0000} /* 视频播放器位置 070210 zhangping1@ 修改 增加新播放器和舌签 */ .ConPlayer{ } .ConPlayer .ConPlayerM{ margin-top:10px;} /* 播放器分段数字链接 070210 zhangping1@ 修改 */ #bnTxtPlayerPList a { color:#173480; text-decoration:underline; font-weight:bold;} #bnTxtPlayerPList a:link {color:#173480;} #bnTxtPlayerPList a:visited {color:#173480;} #bnTxtPlayerPList a:hover,#bnTxtPlayerPList a:active,#bnTxtPlayerPList a:focus {color:#f00;} /* 播放器 发表评论 链接 */ a.mplink { text-decoration: none;} a.mplink:link,a.mplink:visited {color:#000038;} a.mplink:hover,a.mplink:active,a.mplink:focus { color:#ffc;} /* 070210 zhangping1@ 修改 增加新播放器和舌签 start */ #videoDisplay object {border:1px solid #000;} /* 视频底部 容器 div */ div.playerAdd {width:583px; height:234px; overflow:hidden; text-align:left; } /* 视频底部 标题 div */ div.playerAddTitle { height:29px;background:url(http://www.sinaimg.cn/cctv/bn/2007/0212/title_r_bg_zp.gif) right bottom no-repeat;} ul.playerAddLot {background:#777;} ul.playerAddLot li {float:left; border-top:1px solid #cfcfcf; background:#f0f0f0;} ul.playerAddLot li div { font-size:14px; font-weight:bold; float:left; padding:0px 18px; border:1px solid #fff; height:25px; line-height:25px; cursor:pointer; } ul.playerAddLot li.start { background:url(http://www.sinaimg.cn/cctv/bn/2007/0212/lot_l_bg.gif) left top no-repeat; width:1px; height:29px; border-top:0px;} ul.playerAddLot li.focus { border-bottom:1px solid #fff; } ul.playerAddLot li.focus div { background:url(http://www.sinaimg.cn/cctv/bn/2007/0212/lot_focus_bg.gif) top repeat-x;} /* 视频介绍 */ div.aboutVideoText { padding:11px 14px; height:180px; overflow:auto;} div.aboutVideoText p{ text-indent:0em; font-size:14px; line-height:23px; } /* 查看留言 */ div.leaveWordArea { padding:10px 14px 10px 18px;} div.leaveWordArea {} /* 相关视频 ul li*/ div.aboutVideoArea {padding:17px;} div.aboutVideoArea ul{ float:left; width:270px;} div.aboutVideoArea ul li {padding:0 0 0 9px; width:260px; height:20px; line-height:20px; overflow:hidden; list-style-type:none;background:url(http://www.sinaimg.cn/cctv/bn/zw/bn_zw_ws_004.gif) 0 8px no-repeat; } /* 070210 zhangping1@ 修改 增加新播放器和舌签 end */ /* 评论信息显示 */ #leaveWordCon {} #leaveWordCon dl { line-height:22px; overflow:auto;padding:5px 10px 5px 10px; height:150px; width:540px;} #leaveWordCon dt { color:#656565; font-weight:normal; background-color:#EEF4F9; padding-left:2px; } #leaveWordCon dd { padding-left:25px; background:url(http://www.sinaimg.cn/dy/pl/dis01.gif) 5px top no-repeat; } /* 评论表单链接 */ .form a:link,.form a:visited{text-decoration:none;color:#2773a8;} .form a:active,.form a:hover{text-decoration:none;color:#f00;} /* 视频播放器及相关视频 评论表单 end */ /* 间隔 */ .HSpace01{height:6px; overflow:hidden; width:1px;} .HSpace02{height:8px; overflow:hidden; width:1px;} .HSpace03{height:10px; overflow:hidden; width:1px;} /* 070328修改 ws 把分布在页面中的css收集上来 begin */ .Part_M_1{border:1px solid #dedfde; border-bottom:none; width:298px;} .Part_M_1 h3{font-size:12px;font-weight:normal;height:23px;line-height:23px;background:#ededed;padding-left:12px; clear:both;} .Part_M_1 a:link{color:#666;text-decoration:underline;} .Part_M_1 a:hover{color:#f00;text-decoration:underline;} .medialogo{float:right; height:21px;} .linkRed01 a{text-decoration:underline;color:#C00;} .linkRed01 a:hover{color:#f00;} .linkRed02 a{text-decoration:none;color:#A20010;} .linkRed02 a:hover{color:#f00;} .iAskBtn{width:71px; height:20px; margin:0; margin-left:5px; font-size:12px;} .iAskIpt{width:114px; height:20px; font-size:12px; color:#939791; padding:2px 0 0 2px; border:1px #acb4be solid;} .iAskLLogo{padding-left:6px;} .AdConBtm585{background:#f7f7f7; border:1px #dedfde solid; padding:10px 0 0 0;} /* 070328修改 ws 把分布在页面中的css收集上来 end */ .time_gray{color:#8f8380;}