<!--{template header}-->
<!--{eval $ads = getad('system', 'uchblog', '1'); }-->
<!--{if !empty($ads['pageheadad']) }-->
	<div class="ad_header">$ads[pageheadad]</div>
<!--{/if}-->
</div><!--header end-->

<div id="nav">
	<div class="main_nav">
		<ul>
			<!--{if empty($_SCONFIG['defaultchannel'])}-->
			<li><a href="{S_URL}/index.php">首页</a></li>
			<!--{/if}-->
			<!--{loop $channels['menus'] $key $value}-->
			<li <!--{if $key == 'uchblog' }--> class="current"<!--{/if}-->><a href="$value[url]">$value[name]</a></li>
			<!--{/loop}-->
		</ul>
	</div>
</div><!--nav end-->

<div class="column">
	<div class="col1">
		<!--{block name="uchblog" parameter="picflag/2/dateline/604800/order/viewnum DESC/limit/0,5/cachetime/286528/subjectlen/48/subjectdot/0/cachename/blogpic"}-->
		<div class="col3">
		<div id="focus_turn">
			<!--{if !empty($_SBLOCK['blogpic'])}-->
			<ul id="focus_pic">
				<!--{eval $j = 0}-->
				<!--{loop $_SBLOCK['blogpic'] $key $value}-->
				<!--{eval $pcurrent = ($j == 0 ? 'current' : 'normal');}-->
				<li class="$pcurrent"><a href="$value[url]">
				<!--{if substr($value['pic'], -10) == '.thumb.jpg'}-->
				<img src="<!--{eval echo substr($value['pic'], 0, -10)}-->" alt="$value[subject]" />
				<!--{else}-->
				<img src="$value[pic]" alt="$value[subject]" />
				<!--{/if}-->
				</a></li>
				<!--{eval $j++}-->
				<!--{/loop}-->
			</ul>
			<ul id="focus_tx">
				<!--{eval $i = 0}-->
				<!--{loop $_SBLOCK['blogpic'] $bvalue}-->
				<!--{eval $current = ($i == 0 ? 'current' : 'normal');}-->
				<li class="$current"><a href="$value[url]">$bvalue[subject]</a></li>
				<!--{eval $i++;}-->
				<!--{/loop}-->
			</ul>
			<div id="focus_opacity"></div>
			<!--{/if}-->
		</div><!--focus_turn end-->
		
			<!--{block name="uchblog" parameter="picflag/2/order/viewnum DESC/limit/0,3/cachetime/286528/subjectlen/16/subjectdot/0/cachename/blog2pic"}-->
			<div id="blog_pic_story">
				<h3>图片故事</h3>
				<ul class="globalnews_piclist">
					<!--{loop $_SBLOCK['blog2pic'] $key $value}-->
					<li><a href="$value[url]">
					<!--{if substr($value['pic'], -10) == '.thumb.jpg'}-->
					<img src="<!--{eval echo substr($value['pic'], 0, -10)}-->" alt="$value[subject]" />
					<!--{else}-->
					<img src="$value[pic]" alt="$value[subject]" />
					<!--{/if}-->
					</a><span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></span></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div><!--col3 end-->

		<!--{block name="uchspace" parameter="order/updatetime DESC/limit/0,10/cachetime/86475/cachename/uchspace"}-->
		<div class="col4" id="blog_new">
			<h3>最近更新</h3>
			<ul class="global_avatar_list clearfix">
				<!--{loop $_SBLOCK['uchspace'] $value}-->
				<li><a href="{S_URL}/space.php?uid=$value[uid]"><img src="{UC_API}/avatar.php?uid=$value[uid]&size=small" alt="" /></a><span><a href="{S_URL}/space.php?uid=$value[uid]">$value[username]</a></span></li>
				<!--{/loop}-->
			</ul>

			<!--{block name="uchblog" parameter="dateline/604800/order/viewnum DESC,dateline DESC/limit/0,9/cachetime/124200/subjectlen/42/subjectdot/0/cachename/blogreply"}-->
			<ul class="txt">
				<!--{loop $_SBLOCK['blogreply'] $value}-->
				<li><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div><!--col4 end-->
	</div><!--col1 end-->
	<div class="col2">
		<div id="user_login">
			<script src="{S_URL}/batch.panel.php?rand={eval echo rand(1, 999999)}" type="text/javascript" language="javascript"></script>
		</div><!--user_login end-->

		<!--{block name="uchblog" parameter="dateline/2592000/order/viewnum DESC,dateline DESC/limit/0,13/cachetime/97643/subjectlen/26/subjectdot/0/cachename/bloghottop"}-->
		<!--{if !empty($_SBLOCK['bloghottop'])}-->
		<!--{eval $bloghottop = @array_slice($_SBLOCK['bloghottop'], 0, 3);}-->
		<!--{/if}-->
		<div id="blog_top">
			<h3>日志之星</h3>
			<!--{loop $bloghottop $value}-->
			<dl>
				<dt><a href="{S_URL}/space.php?uid=$value[uid]"><img src="{UC_API}/avatar.php?uid=$value[uid]&size=small" alt="" /></a><span><a href="{S_URL}/space.php?uid=$value[uid]">$value[username]</a></span></dt>
				<dd>
					<a href="$value[url]" title="$value[subjectall]">$value[subject]</a><br />
					浏览($value[viewnum]) | 评论($value[replynum])
				</dd>
			</dl>
			<!--{/loop}-->
		</div><!--blog_top end-->
	</div><!--col2 end-->
</div><!--column end-->

<!--{if !empty($ads['pagecenterad'])}-->
<div class="ad_pagebody">$ads[pagecenterad]</div>
<!--{/if}-->

<!--{block name="uchspace" parameter="order/viewnum DESC,friendnum DESC/limit/0,15/cachetime/87530/cachename/hotspace"}-->
<!--{if !empty($_SBLOCK['hotspace'])}-->
<div class="column global_module">
	<div class="global_module1_caption"><h3>热门空间</h3></div>
	<ul class="global_avatar_list blog_hot_avatar">
		<!--{loop $_SBLOCK['hotspace'] $value}-->
		<li><a href="{S_URL}/space.php?uid=$value[uid]"><img alt="" src="{UC_API}/avatar.php?uid=$value[uid]&size=small"/></a><span><a href="{S_URL}/space.php?uid=$value[uid]">$value[username]</a></span></li>
		<!--{/loop}-->
	</ul>
</div>
<!--{/if}-->

<div class="column">
	<div class="col1 blog_margin_hack">
	<!--{block name="uchblog" parameter="order/dateline DESC,dateline DESC/limit/0,12/cachetime/6980/subjectlen/38/subjectdot/0/showdetail/1/messagelen/80/messagedot/1/cachename/newblog"}-->
		
		<div class="global_module margin_bot10">
			<!--{if !empty($_SBLOCK['newblog'])}-->
			<div class="global_module1_caption"><h3>最新日志</h3><a class="more" href="#action/bloglist/order/dateline#">更多&gt;&gt;</a></div>
			<ul class="global_tx_list1">
				<!--{loop $_SBLOCK['newblog'] $value}-->
				<li><span class="box_r"><a href="{S_URL}/space.php?uid=$value[uid]">$value[username]</a></span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->	
			</ul>
			<!--{/if}-->
		</div>
		
		
		<!--{block name="uchblog" parameter="dateline/604800/order/viewnum DESC,dateline DESC/limit/0,12/cachetime/124200/subjectlen/38/subjectdot/0/showdetail/1/messagelen/80/messagedot/1/cachename/blogreply"}-->
		<div class="global_module margin_bot10">
			<div class="global_module1_caption"><h3>本周热门日志</h3><a class="more" href="#action/bloglist/order/viewnum#">更多&gt;&gt;</a></div>
			<ul class="global_tx_list1">
				<!--{loop $_SBLOCK['blogreply'] $value}-->
				<li><span class="box_r"><a href="{S_URL}/space.php?uid=$value[uid]">$value[username]</a></span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div>		
		
		<!--{block name="uchblog" parameter="dateline/604800/order/replynum DESC,dateline DESC/limit/0,12/cachetime/97643/subjectlen/38/subjectdot/0/showdetail/1/messagelen/380/messagedot/1/cachename/bloghot"}-->
		<div class="global_module margin_bot10">
			<div class="global_module1_caption"><h3>本周热评日志</h3><a class="more" href="#action/bloglist/order/replynum#">更多&gt;&gt;</a></div>
			<ul class="global_tx_list1">
				<!--{loop $_SBLOCK['bloghot'] $value}-->
				<li><span class="box_r"><a href="{S_URL}/space.php?uid=$value[uid]">$value[username]</a></span><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></li>
				<!--{/loop}-->
			</ul>
		</div>			

	</div><!--col1 end-->
	
	<div class="col2">
		<!--{block name="uchblog" parameter="dateline/2592000/order/replynum DESC,dateline DESC/limit/0,10/cachetime/1264200/subjectlen/24/subjectdot/0/cachename/bloghotreply"}-->
		<div class="global_module global_tx_list6">
			<div class="global_module2_caption"><h3>本月热评</h3></div>
			<ul>
				<!--{loop $_SBLOCK['bloghotreply'] $value}-->
				<li><span class="box_l"><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></span><span class="box_r"><a href="{S_URL}/space.php?uid=$value[uid]">$value[username]</a></span></li>
				<!--{/loop}-->
			</ul>
		</div>
	
		<!--{if !empty($_SBLOCK['bloghottop'])}-->
		<!--{eval $bloghottop2 = @array_slice($_SBLOCK['bloghottop'], 3, 13);}-->
		<!--{/if}-->
		<div class="global_module global_tx_list6">
			<div class="global_module2_caption"><h3>本月点击排行</h3></div>
			<ul>
				<!--{loop $bloghottop2 $value}-->
				<li><span class="box_l"><a href="$value[url]" title="$value[subjectall]">$value[subject]</a></span><span class="box_r"><a href="{S_URL}/space.php?uid=$value[uid]">$value[username]</a></span></li>
				<!--{/loop}-->
			</ul>
		</div>

	</div><!--col2 end-->
</div><!--column end-->

<!--{if !empty($ads['pagefootad'])}-->
<div class="ad_pagebody">$ads['pagefootad']</div>
<!--{/if}-->

<!--{if !empty($ads['pagemovead']) || !empty($ads['pageoutad'])}-->
<!--{if !empty($ads['pagemovead'])}-->
<div id="coupleBannerAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
	<div style="position: absolute; left: 6px; top: 6px;">
		$ads[pagemovead]
		<br />
		<img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
	</div>
	<div style="position: absolute; right: 6px; top: 6px;">
		$ads[pagemovead]
		<br />
		<img src="{S_URL}/images/base/advclose.gif" onMouseOver="this.style.cursor='hand'" onClick="closeBanner('coupleBannerAdv');">
	</div>
</div>
<!--{/if}-->
<!--{if !empty($ads['pageoutad'])}-->
<div id="floatAdv" style="z-index: 10; position: absolute; width:100px;left:10px;top:10px;display:none">
	<div id="floatFloor" style="position: absolute; right: 6px; bottom:-700px">
		$ads[pageoutad]
	</div>
</div>
<!--{/if}-->
<script type="text/javascript" src="{S_URL}/include/js/floatadv.js"></script>
<script type="text/javascript">
<!--{if !empty($ads['pageoutad'])}-->
var lengthobj = getWindowSize();
lsfloatdiv('floatAdv', 0, 0, 'floatFloor' , -lengthobj.winHeight).floatIt();
<!--{/if}-->
<!--{if !empty($ads['pagemovead'])}-->
lsfloatdiv('coupleBannerAdv', 0, 0, '', 0).floatIt();
<!--{/if}-->
</script>
<!--{/if}-->

<!--{if !empty($ads['pageoutindex'])}-->
$ads[pageoutindex]
<!--{/if}-->
<!--{template footer}-->