- <?exit?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
- <title>小编</title>
- <meta name="keywords" content="" />
- <meta name="description" content="" />
- <link id="cssChange" href="{S_URL}/templates/$_SCONFIG[template]/css/tuijian.css" rel="stylesheet" type="text/css">
- <!--[if ie 6]>
- <style>
- .MainLeft{width:246px; float:left; text-align:left;background:#fff;margin-left:2px;margin-top:10px;}
- </style>
- <![endif]-->
- <!--[if ie 7]>
- <style>
- .MainLeft{width:246px; float:left; text-align:left;background:#fff;margin-left:8px;margin-top:10px;}
- </style>
- <![endif]-->
- <!--[if ie 8]>
- <style>
- .MainLeft{width:246px; float:left; text-align:left;background:#fff;margin-left:8px;margin-top:10px;}
- </style>
- <![endif]-->
- <script type="text/javascript" src="{S_URL}/templates/$_SCONFIG[template]/js/jquery.js"></script>
- </head>
- <body>
- <SCRIPT language=javascript>
- JQ = jQuery.noConflict();
- function changeMap(obj)
- {
- for(i=1;i<=6;i++)
- {
- if(obj==i){
- JQ("#big_"+i).css("display","block");
- JQ("#small_"+i).css("display","none");
- }else{
- JQ("#big_"+i).css("display","none");
- JQ("#small_"+i).css("display","block");
- }
- }
- }
- </SCRIPT>
- <div class="MainLeft">
- <div class="MainLeftCon1">
- <div class="Rank">
- <!--{block name="spacenews" parameter="catid/2/order/i.dateline DESC/limit/0,6/subjectlen/40/cachename/newslist"}-->
- <!--{eval $i = 1}-->
- <!--{loop $_SBLOCK['newslist'] $value}-->
- <div class="Rankcon" id="big_<!--{eval print $i;}-->"
- style="DISPLAY: <!--{if $i != 1}--><!--{eval echo 'none'}--><!--{else}--><!--{eval echo 'block'}--><!--{/if}-->;
- BACKGROUND: url({S_URL}/templates/$_SCONFIG[template]/images/icon00<!--{eval echo $i;}-->.gif) #ff5e03 no-repeat right bottom"><H3 class="white">
- <a href="$value[url]"
- target="_blank">$value[subject]</A>
- </h3>
- <h4>发布日期:#date('y.m.d', $value['dateline'])#</h4>
- </div>
- <div id="small_<!--{eval echo $i;}-->" onmouseover="changeMap(<!--{eval echo $i;}-->);" style="DISPLAY: <!--{if $i != 1}--><!--{eval echo 'block'}--><!--{else}--><!--{eval echo 'none'}--><!--{/if}-->;">
- <ul class="gray6"
- style="BACKGROUND: url({S_URL}/templates/$_SCONFIG[template]/images/icon0<!--{eval echo $i;}-->.gif) #dddddd no-repeat 7px 6px"><li>$value[subject]</li>
- </ul>
- </div>
- <!--{eval $i++;}-->
- <!--{/loop}-->
- </div>
- </div>
- </div>
- </body>
- </html>
复制代码 |