本帖最后由 q75788286 于 2009-3-27 02:22 编辑
原来是这样的
我想把登陆窗口加在这里
改来改去总是不对!请大家帮忙看下!下面是要改的代码:- <!--{template header}-->
- <!--{eval $ads = getad('system', 'indexad', '1'); }-->
- <h2><a href="{S_URL}/"><img src="{S_URL}/images/logo.gif" alt="$_SCONFIG[sitename]" /></a></h2>
- <!--{if !empty($ads['pageheadad']) }-->
- <div class="ad_header">$ads[pageheadad]</div>
- <!--{/if}-->
- </div>
- </div>
- <div id="pagebody">
- <div id="pagebody_extbg">
- <div id="nav">
- <ul class="main_nav">
- <!--{if empty($_SCONFIG['defaultchannel'])}-->
- <li class="current"><a href="{S_URL}/index.php"><span>首页</span></a></li>
- <!--{/if}-->
- <!--{loop $channels['menus'] $key $value}-->
- <li><a href="$value[url]"><span>$value[name]</span></a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <div class="column">
- <div id="supehot">
- <!--{block name="spacenews" parameter="haveattach/2/order/i.dateline DESC/limit/0,4/cachetime/83400/subjectlen/40/subjectdot/1/cachename/hotnewspic"}-->
- <div class="box_l" id="index_focus_turn">
- <!--{if !empty($_SBLOCK['hotnewspic'])}-->
- <div id="index_focus_turn_pic">
- <div id="index_focus_turn_picList" style="left:0; top:0;">
- <ul>
- <!--{loop $_SBLOCK['hotnewspic'] $pkey $pvalue}-->
- <li><a href="$pvalue[url]"><img src="$pvalue['a_filepath']" alt="" /></a></li>
- <!--{/loop}-->
- </ul>
- </div>
- <div id="index_focus_turn_opvdiv"></div>
- <div id="index_focus_turn_tx">
- <ul>
- <!--{eval $i = 0}-->
- <!--{loop $_SBLOCK['hotnewspic'] $key $value}-->
- <!--{eval $current = ($i == 0 ? 'current' : 'normal');}-->
- <li class="$current">$value[subject]</li>
- <!--{eval $i++}-->
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- <div id="index_focus_turn_btn">
- <ul>
- <!--{eval $i = 0}-->
- <!--{loop $_SBLOCK['hotnewspic'] $bkey $bvalue}-->
- <!--{eval $current = ($i == 0 ? 'current' : 'normal');}-->
- <li class="$current"><img src="$bvalue[a_thumbpath]" alt="" /></li>
- <!--{eval $i++}-->
- <!--{/loop}-->
- </ul>
- </div>
- <!--{/if}-->
- </div>
-
- <div class="box_r">
- <div class="supehot_txbox">
- <div class="supehot_txbox_caption">
- <ul>
- <li class="current"><em>最新资讯</em></li>
- </ul>
- </div>
- <div class="supehot_txbox_content">
- <!--{block name="spacenews" parameter="order/i.dateline DESC/limit/0,9/cachetime/85400/subjectlen/40/subjectdot/1/cachename/hotnews1"}-->
- <ul class="current" id="supehot_list_1">
- <!--{loop $_SBLOCK['hotnews1'] $value}-->
- <li><span class="box_r">#date('m.d',$value['dateline'])#</span><a href="$value[url]">$value[subject]</a></li>
- <!--{/loop}-->
- </ul>
- </div>
- </div>
- </div>
- </div><!--supehot end -->
-
- <div id="supespecial">
- <ul>
- <!--{block name="poll" parameter="order/dateline DESC/limit/0,1/cachetime/80000/cachename/poll"}-->
- <!--{if empty($_SBLOCK['poll'])}-->
- <li>暂时没有调查</li>
- <!--{else}-->
- <!--{loop $_SBLOCK['poll'] $value}-->
- <li>调查:<a href="$value[url]" target="_blank">$value[subject]</a></li>
- <!--{/loop}-->
- <!--{/if}-->
- <!--{block name="announcement" parameter="order/displayorder DESC,starttime DESC/limit/0,1/cachetime/96400/subjectlen/40/subjectdot/1/cachename/announce"}-->
- <!--{if empty($_SBLOCK['announce'])}-->
- <li>暂时没有公告</li>
- <!--{else}-->
- <!--{loop $_SBLOCK['announce'] $value}-->
- <li>公告:<a href="$value[url]" target="_blank">$value[subject]</a>
- <!--{/loop}-->
- <!--{/if}-->
复制代码 大家看下需要怎么改!下面是配对的CSS代码:/* Index style */
/* Index common style start */
.supe_globalmodule { width:948px; overflow:hidden; margin-bottom:8px; }
.supe_globalmodule_l { float:left; width:675px; height:305px; overflow:hidden; border:1px solid #240414; background:#000; }
.supe_globalmodule_r { float:right; width:260px; height:305px; overflow:hidden; border:1px solid #240414; }
.supe_globalmodule_r h3 { width:117px; height:27px; margin:-1px 0 0 -1px; background:url(../images/supe_globalcaption_r_bg.gif) no-repeat; color:#FFF; text-align:center; line-height:27px; text-indent:0; }
.supe_piclist ul li{ position:relative; float:left; width:102px; height:120px; overflow:hidden; margin:0 10px 13px 0; *margin:0 10px 11px 0; }
.supe_piclist ul li div { display:table-cell; *display:block; width:100px; height:100px; overflow:hidden; border:1px solid #E0E9F2; background:#080808; text-align:center; vertical-align:middle; *font-size:86px; cursor:pointer; }
.supe_piclist ul li div img { vertical-align:middle; }
.supe_piclist ul li span { position:absolute; left:0; bottom:0; *bottom:-2px; width:105px; height:17px; overflow:hidden; line-height:16px; text-align:center; }
/* Index common style end */
#supehot { width:100%; overflow:hidden; margin-bottom:8px; }/*styling for the index/bbs/blog comment*/
#supehot .box_l { width:525px; height:245px; }
#supehot .box_r { width:416px; }
.supehot_txbox { height:245px!important; *height:249px; overflow:hidden; border:1px solid #240414; background:#000; }
.supehot_txbox_caption { height:25px; overflow:hidden; margin-left:-1px; background:url(../images/global_caption_bg.gif) repeat-x; line-height:25px; }
.supehot_txbox_caption ul { padding-left:8px; }
.supehot_txbox_caption li { float:left; margin-left:-1px; border-left:1px solid #240414; border-right:1px solid #240414; }
.supehot_txbox_caption li em { padding:0 13px 3px; cursor:pointer; }
.supehot_txbox_caption .current em { padding:7px 13px 5px; background:#000; color:#F00; font-weight:700; }
.supehot_txbox_content {}
.supehot_txbox_content ul { padding:11px 0 0; }
.supehot_txbox_content .normal { display:none; }
.supehot_txbox_content li { width:92%; height:22px; overflow:hidden; margin:0 auto; line-height:22px; }
.supehot_txbox_content .box_r { width:auto !important; margin-left:20px; color:#999; }
/* Index Focus Turn style start */
#index_focus_turn { border:1px solid #240414; background:#000; }
#index_focus_turn_pic { display:inline; position:relative; float:left; width:410px; height:225px; overflow:hidden; margin:10px 0 0 10px; }
#index_focus_turn_picList { position:absolute; }
#index_focus_turn_picList li { width:410px; height:225px; overflow:hidden; }
#index_focus_turn_picList img { width: expression(410 / this.width * this.height > 225 ? 410 : this.width * 225 / this.height); max-width: 410px; min-width: 410px;}
#index_focus_turn_btn { display:inline; float:right; width:91px; margin:9px 9px 0 0; }
#index_focus_turn_btn li { width:91px; height:57px; cursor:pointer; filter:alpha(opacity=50); -moz-opacity:0.5; opacity:0.5; }
#index_focus_turn_btn img { width:75px; height:45px; margin:7px 0 0 11px; }
#index_focus_turn_btn .current { background:url(../images/focus_trun_btnbg.gif) no-repeat; filter:alpha(opacity=100); -moz-opacity:1.0; opacity:1.0; }
#index_focus_turn_opvdiv { position:absolute; left:0; bottom:0; width:410px; height:35px; background:#000; filter:alpha(opacity=50); -moz-opacity:0.5; opacity:0.5; }
#index_focus_turn_tx { position:absolute; left:8px; bottom:8px; color:#FFF; }
#index_focus_turn_tx span { font-size:12px !important; }
#index_focus_turn_tx .normal { display:none; }
/* Index Focus Turn style end */
#supespecial { width:948px; height:40px; overflow:hidden; margin-bottom:8px; border:1px dashed #880F2E; background:#000 url(../images/dashed_exect_bg.gif) repeat-y 315px 0; }
#supespecial ul { height:40px; overflow:hidden; background:url(../images/dashed_exect_bg.gif) repeat-y 630px 0; }
#supespecial li { display:inline; float:left; width:255px; height:18px; overflow:hidden; margin:12px 15px 0 20px; padding-left:25px; background:url(../images/icon_leftarrow.gif) no-repeat 0 1px; color:#F00; font-weight:700; }
#supespecial li a { font-weight:400; }
#supespecial .supesearch { height:30px; margin:8px 15px 0 20px; background-position:0 5px; }
.supesearch input { vertical-align:middle; }
.supesearch label { vertical-align:middle !important; *vertical-align:bottom; }
#supenews {}, #supebbs {}
#supenews .supenews_pic, #supebbs .supebbs_pic { width:97%; height:97px; overflow:hidden; margin:15px auto 0; background:url(../images/dashed_bg.gif) repeat-x 0 96px; }
#supebbs .supebbs_pic { height:120px; background-position:0 119px; }
#supebbs .supebbs_pic ul { padding-left:12px !important; padding-left:8px;}
#supebbs .supebbs_pic li { display:inline; float:left; width:135px; margin-right:28px; }
#supebbs .supebbs_pic li h5 { height:20px; overflow:hidden; margin:3px 0; font-weight:400; text-align:center; }
#supebbs .supebbs_pic li img { display:block; width:135px; height:85px; padding:1px; border:1px solid #000; }
#supenews .supenews_pic dl { display:inline; float:left; width:310px; overflow:hidden; margin:0 5px 0 10px; }
#supenews .supenews_pic dt { float:left; width:125px; }
#supenews .supenews_pic dt img { display:block; width:121px; height:85px; border:1px solid #000; }
#supenews .supenews_pic dd { float:right; width:180px; }
#supenews .supenews_pic dd h5 { height:20px; overflow:hidden; margin-bottom:3px; }
#supenews .supenews_pic dd p { height:55px; overflow:hidden; }
.supebbs_tx, .supenews_tx { width:100%; margin:8px auto 0;}
.supebbs_tx ul, .supenews_tx ul { margin-bottom:7px; padding-left:25px; }
.supebbs_tx li, .supenews_tx li { float:left; width:44%; height:22px; overflow:hidden; margin-right:25px; padding-left:12px; line-height:22px; background:transparent url(../images/icon_li.gif) no-repeat scroll 0 11px; }
.supebbs_tx li .box_r, .supenews_tx li .box_r { margin-left:15px; }
.supebbs_tx li .box_r a , .supenews_tx li .box_r a{ color:#999; }
.supebbs_tx_more, .supenews_tx_more { text-indent:15px; font-weight:700; }
.supebbs_tx_more a , .supenews_tx_more a { color:#F00; }
.supebbs_top10 {} /* styling for the supeindex/bbsindex */
.supebbs_top10 ul { overflow:hidden; background:url(../images/supebbs_top10_bg.gif) no-repeat; }
.supebbs_top10 ul li { height:28px; overflow:hidden; margin-right:15px; padding-left:45px; color:red; line-height:28px; }
.supebbs_top10 ul li .num { float:right; padding-left:14px; color:#999 !important; }
.supenews_top10_ext ul { background:url(../images/supenews_top10_ext_bg.gif) repeat; } /* styling for the supenews */
.supenews_top10_ext ul li { padding-left:20px; }
#supepic {}
#supepic .supe_globalmodule_l { }
#supepic .top_pic { float:left; width:180px; overflow:hidden; *margin-right:-3px; padding:17px 23px 0 15px; }
#supepic .top_pic div { display:table-cell; width:180px; height:225px; overflow:hidden; padding:3px; border:1px solid #E0E9F2; background:#080808; text-align:center; vertical-align:middle; *display: block; *font-size:190px; }
#supepic .top_pic div img { max-width:180px; max-height:225px; width:expression(this.width > 180 && this.width > this.height ? 180: true); height:expression(this.height > 225? 225: true); vertical-align:middle; }
#supepic .top_pic span { display:block; width:180px; height:20px; overflow:hidden; text-align:center; }
#supepic .supe_globalmodule_l .supe_piclist { padding:17px 0 0 0; }
#supepic .supe_globalmodule_r .supe_piclist { padding:17px 0 0 0px; }
#supepic .supe_globalmodule_r .supe_piclist li { display:inline; margin:0 0 14px 18px; }
#supepic {}
#supeblog {}/* styling for the index/blog */
#supeblog .supeblog_top { width:98%; height:68px; overflow:hidden; margin:20px auto 10px; background:url(../images/dashed_bg.gif) repeat-x center bottom; }
#supeblog .supeblog_top dl { display:inline; float:left; width:318px; overflow:hidden; margin-left:12px; }
#supeblog .supeblog_top dl dt { float:left; width:50px; margin-right:8px; *margin-right:5; }
#supeblog .supeblog_top dl dd { }
#supeblog .supeblog_top dl dd h5 { height:18px; overflow:hidden; margin-bottom:3px; }
#supeblog .supeblog_top dl dd p { height:30px; overflow:hidden; line-height:16px; }
#supeblog .supeblog_txlist {}
#supeblog .supeblog_txlist li { display:inline; float:left; width:292px; height:25px; overflow:hidden; margin:0 0 0 22px; padding-left:12px; background:url(../images/icon_li.gif) no-repeat 0 11px; line-height:25px; }
#supeblog .supeblog_txlist span { float:right; padding-left:25px; font-size:12px; }
#supeblog .supeblog_txlist span a { color:#999; }
#supeblog .supe_globalmodule_r {}
#supeblog .supe_globalmodule_r ul { height:230px; overflow:hidden; padding:20px 0 0 0; }
#supeblog .supe_globalmodule_r li { display:inline; float:left; width:55px; height:66px; overflow:hidden; margin:10px 0 0 25px; }
#supeblog .supe_globalmodule_r li span { display:block; width:50px; height:20px; line-height:20px; text-align:center; }
#supeblog .supe_globalmodule_r li img { display:block; width:48px; height:48px; }
.topzone_list {}/* styling for the blog ext */
.topzone_list .supe_globalmodule_l { width:708px; }
.topzone_list .supeblog_top dl { width:320px!important; margin:0 0 0 22px!important;}
.topzone_list .supeblog_txlist ul { padding-left:9px!important;}
.topzone_list .supeblog_txlist li { width:293px !important; margin:0 20px!important;}
#supelink { border:1px dashed #240414; }
#supelink_cpation { width:99%; height:28px; margin:0 auto 12px; background:url(../images/dashed_bg.gif) repeat-x 0 27px; line-height:28px; }
#supelink_cpation h3 { display:inline; float:left; margin-left:6px; color:#fff; }
#supelink_cpation a { float:right; font-family:sumsin; }
.supelink_img { padding:0 6px 6px 10px; }
.supelink_img a { margin-right:8px; }
.supelink_tx { padding:0 6px 6px 10px; font-family:simsun !important; }
/* News style/bbs style */ 各位大哥大姐会的给指点下!说的明白些 小弟新手!谢谢了!!!!!!!! |