{template header}
<div class="content">
	<div class="login">
	<div class="login_title"><div style="float:left; width:auto"><img src="images/tb.jpg" alt="" width="22" height="27" border="0" /></div>
	<div style="float:left; width:auto; line-height:27px; padding-left:5px; font-size:14px; color:#FFFFFF">用户登录</div></div>
	<div style="width:196px; height:auto">
	<iframe scrolling="no" src="{#$installdir#}index.php?mod=login" width="195" height="190" frameborder="0"></iframe>
	</div>
	</div>
	<div class="flash" id="flash">
	<script language="javascript">
	var swf_width= 500;
	var swf_height= 220;
	</script>
	<script src="{#$installdir#}scripts/flash.js"></script>
	</div>
	<div class="note">
	<div class="note_title"><div style="float:left; width:auto"><img src="images/tb.jpg" alt="" width="22" height="27" border="0" /></div>
	<div style="float:left; width:auto; line-height:27px; padding-left:5px; font-size:14px; color:#FFFFFF">站点公告</div></div>
	<div class="note_content"><dl><script src="{#$installdir#}index.php?mod=note&row=10"></script></dl></div>
	</div>
</div>
<div class="content">
	<div class="left_content">
		<div class="newmovie">
			<div class="left_title"><div class="left_ico"></div><div style="float:left; line-height:25px;width:auto; padding-top:3px; padding-left:5px; color:#666666; font-weight:bold">最新影片</a></div>
			<div class="more"></div></div>
			<div class="data">
			{vodcms:rs=display row=10 classid=$classid }
			{if $rs['i']==1}
				<div style="float:left; padding:2px"><a href="{$rs['link']}"><img src="{#$rs['pic']#}" alt="" width="80" height="110" border="0" /></a></div>
				<div style="width:auto"><strong><a href="{$rs['link']}"><!--{#truncate($rs['title'],8)#}--></a></strong><br />
				<span style="color:#666666;"><!--{#truncate($rs['content'],50)#}--></span></div>
			{else}
				<div class="list_movie">
				<div style="float:left;"><img src="images/ph{#$rs['i']#}.gif" width="18" height="18" alt="" /></div><div style="float:left;width:auto; padding-left:5px;line-height:20px;"><a href="{$rs['link']}">{#truncate($rs['title'],12)#}</a></div><div class="line"></div></div>
			{/if}
			{/vodcms}
			</div>
		</div>
		<div class="newmovie">
			<div class="left_title"><div class="left_ico"></div><div style="float:left; line-height:25px;width:auto; padding-top:3px; padding-left:5px; color:#666666; font-weight:bold">热播影片</a></div>
			<div class="more"></div></div>
			<div class="data">
			{vodcms:rs=display row=10 order=click classid=$classid}
			{if $rs['i']==1}
				<div style="float:left; padding:2px"><a href="{$rs['link']}"><img src="{#$rs['pic']#}" alt="" width="80" height="110" border="0" /></a></div>
				<div style="width:auto"><strong><a href="{$rs['link']}"><!--{#truncate($rs['title'],8)#}--></a></strong><br />
				<span style="color:#666666;"><!--{#truncate($rs['content'],50)#}--></span></div>
			{else}
				<div class="list_movie">
				<div style="float:left;"><img src="images/ph{#$rs['i']#}.gif" width="18" height="18" alt="" /></div><div style="float:left;width:auto; padding-left:5px;line-height:20px;"><a href="{$rs['link']}">{#truncate($rs['title'],12)#}</a></div><div class="line"></div></div>
			{/if}
			{/vodcms}
			</div>
		</div>
		<div class="newmovie">
			<div class="left_title"><div class="left_ico"></div><div style="float:left; line-height:25px;width:auto; padding-top:3px; padding-left:5px; color:#666666; font-weight:bold">连载更新</a></div>
			<div class="more"></div></div>
			<div class="data">
			{vodcms:rs=display sartrow=10 serialise=1 order=click}
			{if $rs['i']==1}
				<div style="float:left; padding:2px"><a href="{$rs['link']}"><img src="{#$rs['pic']#}" alt="" width="80" height="110" border="0" /></a></div>
				<div style="width:auto"><strong><a href="{$rs['link']}"><!--{#truncate($rs['title'],8)#}--></a></strong><br />
				<span style="color:#666666;"><!--{#truncate($rs['content'],50)#}--></span></div>
			{else}
				<div class="list_movie">
				<div style="float:left;"><img src="images/ph{#$rs['i']#}.gif" width="18" height="18" alt="" /></div><div style="float:left;width:auto; padding-left:5px;line-height:20px;"><a href="{$rs['link']}">{#truncate($rs['title'],12)#}</a></div><div class="line"></div></div>
			{/if}
			{/vodcms}
			</div>
		</div>
         <!--include file='download'-->
	</div>
	<div class="movie_mid">
		<div class="recommend_movie">
			<div class="recommend_movie_title">
				<div class="ltitle">正在播放:{#$movie_title#}</div>
				<div class="mtitle"></div>
				<div class="rtitle"></div>
			</div>
			<div style="float:left;width:773px">
			<div class="player_left">
			<iframe scrolling="no" name="playing" id="playing" src="{#$installdir#}index.php?mod=playing&movid={#$movid#}&urlid={#$urlid#}&player={#$player#}&sid={#$sid#}" width="540" height="400" frameborder="0"></iframe>
			</div>
			<div class="player_right">
			<iframe src="{#$installdir#}index.php?mod=playing_right&movid={#$movid#}&urlid={#$urlid#}&player={#$player#}&sid={#$sid#}" width="230" height="400" frameborder="0"></iframe>
			</div>
			</div>
		</div>
	</div>
	<!--判断是否启用评论功能-->
	{if $config['lockcomment'] == 1}
	<div class="movie_mid">
		<div class="recommend_movie">
			<div class="recommend_movie_title">
				<div class="ltitle">影片评论</div>
				<div class="mtitle"></div>
				<div class="rtitle"></div>
			</div>
		<div style="float:left;width:773px;">
		<iframe src="{#$installdir#}index.php?mod=comments&movid={#$movid#}" width="770" frameborder="0" id="comment"></iframe>
		</div>
		</div>
	</div>
	{/if}
</div>
{template bottom}