<!--{template 'default/head'}-->
<div class="main cbody margintop">
	<form name="search-form" action="{W_P}index.php" method="get">
		<table class="soft-search" width="960" height="46" cellspacing="0" cellpadding="0" border="0" align="center">
			<tbody><tr>
				<td width="139">&nbsp;</td>
				<td width="458">
					<table width="451" cellspacing="0" cellpadding="0" border="0">
						<tbody><tr>
							<td width="65" class="i_search_t">影视搜索</td>
							<td width="259">
								<div style="position:relative">
									<input type="text" maxlength="32" style="width: 250px;" class="search" id="simple_search" name="name" />
									<label for="simple_search" id="for-simple_search" style="position:absolute;left:5px;top:5px;color:#666">通过影视名称或者演员搜索</label>
								</div>
							</td>
							<td width="72">
								<input type="hidden" name="mod" value="{$channelid}" />
								<input type="hidden" name="ac" value="search" />
								<input type="submit" class="s-sub" value="" />
							</td>
							<td width="55"></td>
						</tr></tbody>
					</table>
				</td>
				<td width="313">
				
				</td>
			</tr></tbody>
		</table>
	</form>
	<script type="text/javascript">
	qmeCms.textTip.init('simple_search','for-simple_search');
	</script>
	<div class="pleft">
		<h3><span>推荐影视</span></h3>
		<div class="picnews movie-commend">
			<dl>
				<!--{eval $_obj = cmsQuery("channelid={$channelid}&comend=1&pagesize=10")}-->
				<!--{loop $_obj['data'] $val}-->
				<dd>
					<a class="over" href="{$val['url']}" title="{$val['subject']}">
						<img src="{$val['thumb']}" alt="{$val['subject']}" width="120" height="148" class="photoborder" />
					</a>
					<div class="tj_title"><a href="{$val['url']}" title="{$val['subject']}">{$val['subject']}</a></div>
				</dd>
				<!--{/loop}-->
			</dl>
		</div>

		<div class="listbox">
			<div class="listbox-layout">
			<!--{loop $cidmenus $_menu}-->
				<dl>
					<dt>
						<span class="title"><a href="{$_menu['url']}">{$_menu['title']}</a></span>
						<span class="more"><a href="{$_menu['url']}">更多...</a></span>
					</dt> 
					<dd>
						<!--{eval $_obj = cmsQuery("channelid={$channelid}&cid={$_menu[cid]}&pagesize=10&order=edit_time desc")}-->
						<!--{loop $_obj['data'] $key $v}-->
						<div class="mv_name"><a href="{$v['url']}" title="{$v['subject']}"><!--{echo qbase::formatSubject(qbase::substrs($v['subject'], 20), $v['subject_color']);}--></a></div>
						<!--{/loop}-->
						<div class="clear"></div>
					</dd>
				</dl>
			<!--{/loop}-->
			</div>
		</div>

	</div>
	<div class="pright">
		<div class="classbox">
			<h3><span>最新影视</span></h3>
			<div class="rbox">
				<ul>
					<!--{eval $_obj = cmsQuery("channelid={$channelid}&pagesize=14&order=id desc&cacheTime=300")}-->
					<!--{loop $_obj['data'] $key $val}-->
					<li><span class="n_title"><a href="{$val['url']}" title="{$val['subject']}"><!--{echo qbase::substrs($val['subject'], 16)}--></a></span><span class="n_date"><!--{echo qbase::formatTime('Y-m-d', $val['dateline'])}--></span></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
		<div class="classbox margintop order">
			<h3><span>点播排行</span></h3>
			<div class="rbox">
				<ul>
					<!--{eval $_obj = cmsQuery("channelid={$channelid}&pagesize=10&order=views desc&cacheTime=3600")}-->
					<!--{loop $_obj['data'] $key $val}-->
					<li><span class="blist"><img src="{W_P}templates/default/img/movie/<!--{echo $key + 1}-->.gif"></span><span class="p_title"><a href="{$val['url']}" title="{$val['subject']}"><!--{echo qbase::substrs($val['subject'], 16)}--></a></span><span class="p_hits">{$val['views']}</span></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>
	<div class="clear"></div>
</div>

<!--{template 'default/foot'}-->