<%file _header.htm%>
  <div class="index clearfix">
    <div class="left clearfix">
    <div class="clearfix">
      <div class="l">
        <div class="sbox">
          <div class="tit">最新资讯</div>
          <div class="cont">
<script type="text/javascript">
var swf_width = 252;
var swf_height = 180;
var swf_file = 'templates/default/images/focus.swf';
//-- 参数 自动播放时间(秒)|文字颜色|文字背景色|文字背景透明度|按键数字颜色|当前按键颜色|普通按键色彩 --
var config = '5|0xffffff|0x000000|0|0xffffff|0xA41215|0x000000';
var files = '', links = '', texts = '';

<%loop (PicInfo) pic PicTop(6,channelId,0,0,false,false)%>
files += '|uploads/?{pic.picid}.jpg'; 
links += '|pics-{pic.id}.html'; texts += '|{pic.title}';
<%/loop%>

files = files.substring(1);
links = links.substring(1);
texts = texts.substring(1);
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="' + swf_width + '" height="' + swf_height + '">');
document.write('<param name="movie" value="'+swf_file+'" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="menu" value="false" />');
document.write('<param name=wmode value="opaque" />');
document.write('<param name="FlashVars" value="config=' + config + '&bcastr_flie=' + files + '&bcastr_link=' + links + '&bcastr_title=' + texts + '" />');
document.write('<embed src="' + swf_file + '" wmode="opaque" FlashVars="config=' + config + '&bcastr_flie=' + files + '&bcastr_link=' + links + '&bcastr_title=' + texts + '& menu="false" quality="high" width="' + swf_width + '" height="' + swf_height + '" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
document.write('</object>');
</script>          
          </div>
        </div>
        <div class="sbox">
          <div class="tit">最新博文</div>
          <div class="cont">
              <ul class="toprnd">
            <%loop (BowenInfo) bowen BowenTop(10,channelId,0,0,false,false)%>
            <li><a href="bowens-{bowen.id}.html">{bowen.title}</a></li>
            <%/loop%>
              </ul>     
          </div>
        </div>
      </div>
      <div class="r">
        <div class="sbox">
          <div class="tit">推荐博文</div>
          <div class="cont indtui">
          <%loop (BowenInfo) bowen BowenRecom(channelId)%>
          <h4><a href="bowens-{bowen.id}.html">{bowen.title}</a></h4>
          <p>{bowen.intro}</p>
          <%/loop%>
          </div>
        </div>
        <div class="sbox">
          <div class="tit">最新资讯</div>
          <div class="cont">
              <ul class="toprnd">
            <%loop (NewsInfo) news NewsTop(8,channelId,0,0,false,false)%>
            <li><a href="newss-{news.id}.html">{news.title}</a></li>
            <%/loop%>
              </ul>   
          </div>
        </div>
      </div>
      </div>

        <div class="sbox">
          <div class="tit">火爆视频</div>
          <div class="cont">
          <ul class="indvi clearfix">
          <%loop (VideoInfo) video VideoTop(4,channelId,0,0,false,false)%>
               <li><a href="videos-{video.id}.html"><img src="uploads/?{video.picid}.jpg" alt="{video.title}" width="128" height="96" border="0"/><em>{video.title}</em></a></li>
          <%/loop%>
          </ul>
          </div>
        </div>
        <div class="sbox">
          <div class="tit">精彩博文</div>
          <div class="cont">
          <ul class="indpf clearfix">
          <%loop (BowenInfo) bowen BowenTop(16,channelId,0,0,false,false)%>
               <li><a href="bowens-{bowen.id}.html">{bowen.title}</a></li>
          <%/loop%>
          </ul>
          </div>
        </div>
        <div class="sbox">
          <div class="tit">专题</div>
          <div class="cont">
          <ul class="indspe clearfix">
          <%loop (SpecialInfo) special SpecialTop(5,channelId,0)%>
               <li><a href="specials-{special.id}.html"><img src="uploads/?{special.picid}.jpg" alt="{special.spename}" width="102" height="82" border="0"/><em>{special.spename}</em></a></li>
          <%/loop%>
          </ul>
          </div>
        </div>
        <div class="sbox">
          <div class="tit">精彩资讯</div>
          <div class="cont">
          <ul class="indpf clearfix">
          <%loop (NewsInfo) news NewsTop(4,channelId,0,0,false,false)%>
               <li><a href="newss-{news.id}.html">{news.title}</a></li>
          <%/loop%>
          </ul>
          </div>
        </div>
    </div>
    <div class="right">
    <div class="sbox">
          <div class="tit">Tag焦点</div>
          <div class="cont">
            <ul class="indtags clearfix">
            <%loop (TagInfo) tag TagTop(30,-1,false)%>
            <li><a href="tags-{tag.id}.html">{tag.tagname}</a></li>
            <%/loop%>
            </ul>
          </div>
    </div>
    <div class="sbox">
          <div class="tit">最新问答</div>
          <div class="cont">
              <ul class="toprnd">
                <%loop (AskInfo) ask AskTop(9,1,channelId,0,0,false,false)%>
                <li><a href="ask_ask-{ask.id}.html">{ask.title}</a></li>
                <%/loop%>
              </ul>
          </div>
    </div>
    <div class="ad">
        <img src="templates/default/images/2.jpg" />
        <br />
        <img src="templates/default/images/3.jpg" />
        <br />
        <img src="templates/default/images/1.jpg" />
    </div>
    </div>
  </div>
  <div class="frdlink">此处显示  class "frdlink" 的内容</div>
<%file _footer.htm%>