<include file="header.html" />

<span class="cls"></span>

<div id="left">

<include file="search_box.html"/>

<div class="box_s">
<div class="box_s_t">&nbsp;</div>
<div class="box_s_c">
<h4>推荐Flash</h4>
<ul>
<!--推荐Flash调用，调用所有分类中的精华设置Flash(i.Pink DESC )-->
<CMS action="LIST" return="List"  orderby="i.Pink DESC" where="co.TableID=3" TableID="3" num="10" />
<LOOP name="List" var="var" key="key"> 
<li><a href=" [$var.URL] " target=_blank title=" [$var.Title] " >[@CsubStr($var.Title, 0, 10)] </a> </li>
</LOOP> 
</ul>
</div>
<div class="box_s_b">&nbsp;</div>
</div>

<div class="box_s">
<div class="box_s_t">&nbsp;</div>
<div class="box_s_c">
<h2>总点击排行</h2>
<ul>
<!--总点击排行调用，使用Hits_Total进行排序-->
<CMS action="LIST" return="List"  where="co.TableID=3" orderby="Hits_Total" TableID="3" num="10" />
<LOOP name="List" var="var" key="key"> 
<li><a href=" [$var.URL] " target=_blank title=" [$var.Title] " >[@CsubStr($var.Title, 0, 10)] </a>
</LOOP> 

</ul>
</div>
<div class="box_s_b">&nbsp;</div>
</div>
<div class="box_s">
<div class="box_s_t">&nbsp;</div>
<div class="box_s_c">
<h3>本周点击排行</h3>
<ul>
<!--总点击排行调用，使用Hits_Week进行排序-->
<CMS action="LIST" return="List"  where="co.TableID=3" orderby="Hits_Week" TableID="3" num="10" />
<LOOP name="List" var="var" key="key"> 
<li><a href=" [$var.URL] " target=_blank title=" [$var.Title] " >[@CsubStr($var.Title, 0, 10)] </a>
</LOOP> 

</ul>
</div>
<div class="box_s_b">&nbsp;</div>
</div>
<div class="box_s">
<div class="box_s_t">&nbsp;</div>
<div class="box_s_c">
<h4>今日点击排行</h4>
<ul>
<!--总点击排行调用，使用Hits_Today进行排序-->
<CMS action="LIST" return="List"  where="co.TableID=3" orderby="Hits_Today" TableID="3" num="10" />
<LOOP name="List" var="var" key="key"> 
<li><a href=" [$var.URL] " target=_blank title=" [$var.Title] " >[@CsubStr($var.Title, 0, 10)] </a>
</LOOP> 

</ul>
</div>
<div class="box_s_b">&nbsp;</div>
</div>

 

<include file="../copyright.html" />

</div><!--end left-->
<div id="right">

<CMS action="LIST" return="List" TableID="3" Num="0,4"  where="c.Photo!='' AND i.Type=1"  />
<if test="!empty($List)">
<div class="box_l">
<div class="box_l_t">&nbsp;</div>
<div class="box_l_c" id="news">
<h1 id="idx_news">最新Flash</h1>
<ul>
<TABLE cellSpacing=6 cellPadding=0 width="98%" align=center border=0>
          <TBODY>
            <TR> 
<LOOP name="List" var="var" key="key"> 

			              <TD><A href="[$var.URL]" target="_blank" title=" [$var.Title] ">
						  <IMG style="BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-COLOR: #000000;border:1px" height=90 width=125 alt="" src="[@AutoMini($var.Photo,'125*90',$var)]"  ></A><BR>
                  <CENTER><A   href=" [$var.URL] " target="_blank" title=" [$var.Title] ">[@CsubStr($var.Title, 0, 18)]</A></CENTER></TD>
</loop>                         
            			
			</TR>
          </TBODY>
      </TABLE>
</ul>
</div>
<div class="box_l_b">&nbsp;</div>
</div>
</if>


<!--{{{left one-->
<div class="box_m_left">
<div class="box_m_t">&nbsp;</div>
<div class="box_m_c">
<h3><a href="#" title="更多更新...">最新Flash</a></h3>
<ul class="com">
<CMS action="LIST" return="List"  where="co.TableID=3" orderby="i.PublishDate DESC " TableID="3" num="10" />
<LOOP $List var=var key=key> 
<li><span class='date'>[@date("m-d", $var.PublishDate)]</span><a href="[$var.URL]" title="[$var.Title]">[@CsubStr($var.Title, 0, 15)] </a></li>
</LOOP> 
</ul>
</div>
<div class="box_m_b">&nbsp;</div>
</div>
<!--}}}-->

<!--{{{right one-->
<div class="box_m_right">
<div class="box_m_t">&nbsp;</div>
<div class="box_m_c">
<h2><a href="#" title="更多文章更新...">最新文章</a></h2>
<ul class="com">
<CMS action="LIST" return="List"  where="co.TableID=1" orderby="i.PublishDate DESC " TableID="1" num="10" />
<LOOP $List var=var key=key> 
<li><span class='date'>[@date("m-d", $var.PublishDate)]</span><a href="[$var.URL]" title="[$var.Title]">[@CsubStr($var.Title, 0, 15)] </a></li>
</LOOP> 
</ul>
</div>
<div class="box_m_b">&nbsp;</div>
</div>
<!--}}}-->


<!--{{{调用精华Flash-->
<div class="box_l">
<div class="box_l_t">&nbsp;</div>
<div class="box_l_c" id="news">
<h1 id="idx_news">热力推荐</h1>

<CMS action="LIST" return="List"   orderby="i.Pink DESC" where="co.TableID=3"   TableID="3" num="3" /> 
<table border="0" cellpadding="0" cellspacing="0"   >
<tr><td>
<loop name="List" key="key" var="var" start="1">
<div class="imagespacer" >
			<div class="imageholder" >
			<A HREF="[$var.URL]"><img  alt="[$var.Title]" src="[@AutoMini($var.Photo, '160*120', $var)]"   style="MARGIN-LEFT:0px;MARGIN-TOP:0px;BORDER-LEFT-COLOR: #000000; BORDER-BOTTOM-COLOR: #000000; BORDER-TOP-COLOR: #000000; BORDER-RIGHT-COLOR: #000000;border:1px" /></A> 
			</div>

			<div class="titleholder">
 <A HREF="[$var.URL]" title="[$var.Title]">[$var.Title]</A>
			</div>
</div>

<if test="$key%3 == 0">
</td></tr>
<tr><td>
</if>

</loop>
</td></tr>
</table>


</div>
<div class="box_l_b">&nbsp;</div>
</div>
<!--}}}-->


 <!--{{{开始调用点击中心下的所有子结点信息-->
<CMS action="NODELIST" return="NodeList" Type="sub" NodeGUID="com.cmsware.demo.flash"   />
  <loop name="NodeList" key="keyNodeInfo" var="varNodeInfo" start="1" >
	<if test="$keyNodeInfo%2 == 0">
 		<div class="box_m_right">
	<else>
 		<div class="box_m_left">
	</if>
 	<div class="box_m_t">&nbsp;</div>
	<div class="box_m_c">
	<h3><a href="[$varNodeInfo.NodeURL]" title="更多更新...">[$varNodeInfo.Name]</a></h3>
	<ul class="com">
		<CMS action="LIST" return="List"  where="co.TableID=3" NodeID="{$varNodeInfo.NodeID}" TableID="3" num="10" />
			<LOOP name="List" var="var" key="key"> 
			<li><span class='date'>[@date("m-d", $var.PublishDate)]</span><a href="[$var.URL]" title="[$var.Title]">[@CsubStr($var.Title, 0, 14)] </a></li>
			</LOOP> 
	</ul>
	</div>
	<div class="box_m_b">&nbsp;</div>
	</div>
</loop>
 <!--}}}-->

  
<div class="box_l">
	<div class="box_l_t">&nbsp;</div>
		<div class="box_l_c" id="news">
		<CMS action="NODE" return="NodeInfo" NodeGUID="com.cmsware.download.links" />
		<h1 id="idx_news">[$NodeInfo.Name]</h1>
		<ul>
		<CMS action="LIST" return="List" NodeGUID="com.cmsware.download.links" orderby="i.PublishDate ASC"    />
		<li>
		<LOOP name="List" var="var" key="key" > 
 		<a href="[$var.LinkURL]" title="[$var.LinkName]" target="_blank">[$var.LinkName]</a>&nbsp;&nbsp;
		</LOOP>
		</li>

		</ul>
		</div>
		<div class="box_l_b">&nbsp;</div>
		</div>

	</div>
<!--right end -->
<span class="cls"></span>
</div>
<include: file="../footer.html">

</body>
</html>