<!--{template 'default/head'}-->
<div class="main cbody margintop">
	<div class="main-top">
		<div class="main-focus">
			<div class="pics">
				<div class="flash" id="flash_data">
					<ul>
						<!-- 此数据由“门户数据维护”管理，这里获取ID为1的分组块数据 -->
						<!--{cms $_obj = cmsPortal(1, 'asc', 5);}-->
						<!--{loop $_obj['data'] $v}-->
						<li><a href="{$v['url']}" target="{$v['target']}"><img src="{$v['thumb']}" alt="{$v['subject']}" border="0" ></a></li>
						<!--{/loop}-->
					</ul>
				</div>
				<ul class="number" id="flash_number"></ul>
			</div>
			<script type="text/javascript">
				domReady(function(){
					var len = $('flash_data').getElementsByTagName('li').length;
					var obj = $('flash_number');
					for(var i=0;i<len;i++){
						var li = document.createElement('li');
						li.innerHTML = i+1;
						obj.appendChild(li);
					}
					loadJS("{W_P}images/js/slide.js", function(){
						new slide({btns:UIs.call($('flash_number'),'li'),className:'hot',contentID:'flash_data',len:340,dir:'right',auto:true,timer:5000});
					});
				});
			</script>
		</div>
		<div class="main-news">
			<div class="news-top"></div>
			<div class="news-body">
				<!--{cms $_obj = cmsQuery("channelid=1&order=id desc&filter=6&pagesize=1");}-->
				<!--{loop $_obj['data'] $v}-->
				<h2><a href="{$v['url']}" target="_blank" title="{$v['subject']}"><!--{echo qbase::substrs($v['subject'], 24)}--></a></h2>
				<div class="topnews">
					<a href="{$v['url']}">{$v['description']}</a>
				</div>
				<!--{/loop}-->
				<ul>
					<!--{cms $_obj = cmsQuery("channelid=1&order=id desc&filter=2&pagesize=8");}-->
					<!--{loop $_obj['data'] $v}-->
					 <li><span class="news-con"><a href="{$v['url']}" title="{$v['subject']}">{$v['subject']}</a></span> <span class="news-date"><!--{eval echo qbase::formatTime("n/j", $v['dateline']);}--></span> </li>
					<!--{/loop}-->
					<div class="clear"></div>
				</ul>
			</div>
			<div class="news-foot"></div>
		</div>
		<div class="main-soft">
			<img class="bq-down" src="{W_P}templates/default/img/bq-down.gif"> 
			<div class="download-top">
				<h2>QmeCMS内容管理系统</h2>
			</div>
			<div class="download-body">
				<div class="beta1">
					<a href="http://www.qmecms.com/index-mod-2-ac-show-id-87943.html" target="_blank"><img alt="QmeCMS内容管理系统" src="{W_P}images/beta.gif"></a>
				</div>
				<ul>
					<li>QmeCMS内容管理系统 V1.0</li>
					<li>软件语言： 简体中文 GBK</li>
					<li>文件版本： 2010 V1.0</li>
					<li>软件大小： 2.7Mb</li>
					<li>操作系统： windows / linux / uninx .. </li>
					<li target="_blank">更新日期： 2010-10-17<span class="more-link"><a href="http://www.qmecms.com/index-mod-2-ac-show-id-87943.html" target="_blank">了解更多 &gt;&gt;</a></span> </li>
				</ul>
				<div class="kv12">
					<a href="http://www.qmecms.com/index-mod-2-ac-show-id-87943.html" target="_blank">
						<img style="width: 238px;height: 40px" height=40 alt="QmeCMS内容管理系统" hspace=0 src="{W_P}images/soft.gif" width=238 border=0 />
					</a>
				</div>
			</div>
			<div class="download-foot"></div>
		</div>
		<div class="clear"></div>
	</div>
	<div class="pleft">
		<div class="picnews margintop">
			<h4 class="pics">文章图片</h4>	
			<dl>
					<!--{cms $_obj = cmsQuery("channelid=1&order=id desc&thumb=1&pagesize=4");}-->
					<!--{loop $_obj['data'] $v}-->
					<dd><a href="{$v['url']}" class="pimg" ><img _lazysrc="{$v['thumb']}" src="{W_P}images/blank.gif" border='0' width='152' height='98' alt="{$v['subject']}"></a> <span><a href="{$v['url']}"><!--{eval echo qbase::substrs($v['subject'], 20);}--></a></span> </dd>
					<!--{/loop}-->
			</dl>
		</div>
		<div class="picnews margintop">
			<h4 class="pics">软件图片</h4>	
			<dl>
					<!--{cms $_obj = cmsQuery("channelid=2&order=is_comend desc&thumb=1&pagesize=4");}-->
					<!--{loop $_obj['data'] $v}-->
					<dd><a href="{$v['url']}" class="pimg" ><img _lazysrc="{$v['thumb']}" src="{W_P}images/blank.gif" border='0' width='152' height='98' alt="{$v['subject']}"></a> <span><a href="{$v['url']}"><!--{eval echo qbase::substrs($v['subject'], 20);}--></a></span> </dd>
					<!--{/loop}-->
			</dl>
		</div>
		<div class="listbox">
			<div class="listbox-layout">
				<dl>
					<dt>
						<span class="title"><a href="<!--{eval echo toPath(1);}-->">文章</a></span>
						<span class="more"><a href="<!--{eval echo toPath(1);}-->">更多...</a></span>
					</dt> 
					<dd>
					<!--{cms $_obj = cmsQuery("channelid=1&order=id desc&pagesize=10");}-->
					<!--{loop $_obj['data'] $v}-->
						<a href="{$v['url']}" title="{$v['subject']}"><!--{eval echo qbase::substrs($v['subject'], 34);}--></a>
					<!--{/loop}-->
					</dd>
				</dl>
				<dl>
					<dt>
						<span class="title"><a href="<!--{eval echo toPath(2);}-->">下载</a></span>
						<span class="more"><a href="<!--{eval echo toPath(2);}-->">更多...</a></span>
					</dt> 
					<dd>
					<!--{cms $_obj = cmsQuery("channelid=2&order=id desc&pagesize=10");}-->
					<!--{loop $_obj['data'] $v}-->
						<a href="{$v['url']}" title="{$v['subject']}"><!--{eval echo qbase::substrs($v['subject'], 34);}--></a>
					<!--{/loop}-->
					</dd>
				</dl>
				<div class="floatclear"></div>
			</div>
		</div>

		<div class="picnews margintop">
			<h4 class="pics"><a href="<!--{echo toPath(3)}-->">图集</a><a href="<!--{echo toPath(3)}-->" class="more">更多...</a></h4>	
			<dl>
					<!--{cms $_obj = cmsQuery("channelid=3&order=is_comend desc&thumb=1&pagesize=4");}-->
					<!--{loop $_obj['data'] $v}-->
					<dd><a href="{$v['url']}" class="pimg" ><img _lazysrc="{W_P}<!--{echo qbase::formatThumb($v['thumb'], '_128')}-->" src="{W_P}images/blank.gif" border='0' alt="{$v['subject']}" width="152" height="98"></a> <span><a href='{$v['url']}'><!--{eval echo qbase::substrs($v['subject'], 20);}--></a></span> </dd>
					<!--{/loop}-->
			</dl>
		</div>
		<div class="picnews margintop">
			<h4 class="pics"><a href="<!--{echo toPath(4)}-->">影视</a><a href="<!--{echo toPath(4)}-->" class="more">更多...</a></h4>	
			<dl>
					<!--{cms $_obj = cmsQuery("channelid=4&order=is_comend desc&pagesize=5");}-->
					<!--{loop $_obj['data'] $v}-->
					<dd style="width:123px"><a href="{$v['url']}" class="pimg" ><img _lazysrc="{$v['thumb']}" src="{W_P}images/blank.gif" border='0' width='100' height='140' alt="{$v['subject']}"></a> <span><a href="{$v['url']}" title="点击观看 {$v['subject']}"><!--{eval echo qbase::substrs($v['subject'], 20);}--></a></span> </dd>
					<!--{/loop}-->
			</dl>
		</div>

	</div>
	<div class="pright">
		<div class="classbox margintop">
			<h3><span>热门文章</span></h3>
			<div class="rbox">
				<ul>
					<!--{cms $_obj = cmsQuery("channelid=1&order=views desc&pagesize=10");}-->
					<!--{loop $_obj['data'] $v}-->
					<li><a href="{$v['url']}" title="{$v['subject']}"><!--{eval echo qbase::substrs($v['subject'], 40);}--></a></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>

		<div class="classbox margintop">
			<h3><span>你是如何知道QmeCMS的</span></h3>
			<div class="rbox">
				<form class="vote-form" onsubmit="return checkVote(this, 1);" method="post" action="{W_P}index.php?ac=vote&action=save&voteid=1" name="voteform-1" id="voteform-1">
					<p class='v-opt'>
						<input type="radio" name="option" value="1" id="vote-1-1" />
						<label for="vote-1-1">从搜索引擎过来的</label>
					</p>
					<p class='v-opt'>
						<input type="radio" name="option" value="2" id="vote-1-2" />
						<label for="vote-1-2">在论坛上看到的</label>
					</p>
					<p class='v-opt'>
						<input type="radio" name="option" value="3" id="vote-1-3" />
						<label for="vote-1-3">朋友给介绍推荐的</label>
					</p>
					<p class='v-opt'>
						<input type="radio" name="option" value="4" id="vote-1-4" />
						<label for="vote-1-4">无意间闯进来了</label>
					</p>
					<p class='v-act'>
						<input type="hidden" name="voteid" value="1" />
						<input type="submit" id="vote-submit-1" class="f-button" value=" 提交投票 " />
						<a href="{W_P}index.php?ac=vote&action=show&voteid=1">查看投票结果</a>
					</p>
				</form>
			</div>
		</div>

		<div class="rlist margintop classbox">
			<div class="title" style="border-bottom:0;">
				<span class="title-c"></span>
				<div class="panel-item">
					<ul>
						<li onmouseover="panelChange(0, 3, 'hot-soft');" id="hot-soft-item-0" class="selected"><a href="javascript:void(0)">总排行</a></li>
						<li onmouseover="panelChange(1, 3, 'hot-soft');" id="hot-soft-item-1"><a href="javascript:void(0)">月排行</a></li>
						<li onmouseover="panelChange(2, 3, 'hot-soft');" id="hot-soft-item-2"><a href="javascript:void(0)">日排行</a></li>
					</ul>
				</div>
			</div>
			<div class="rbox" id="ordering">
				<ul id="hot-soft-content-0">
					<!--{cms $_obj = cmsQuery("channelid=2&order=views desc&pagesize=10&cacheTime=3600");}-->
					<!--{loop $_obj['data'] $v}-->
					<li><a href="{$v['url']}" title="{$v['subject']}"><!--{eval echo qbase::substrs($v['subject'], 34);}--></a></li>
					<!--{/loop}-->
				</ul>
				<ul id="hot-soft-content-1" class="hidden">
					<!--{cms $_obj = cmsQuery("channelid=2&order=mview desc&pagesize=10&cacheTime=3600");}-->
					<!--{loop $_obj['data'] $v}-->
					<li><a href="{$v['url']}" title="{$v['subject']}"><!--{eval echo qbase::substrs($v['subject'], 34);}--></a></li>
					<!--{/loop}-->
				</ul>
				<ul id="hot-soft-content-2" class="hidden">
					<!--{cms $_obj = cmsQuery("channelid=2&order=dview desc&pagesize=10&cacheTime=3600");}-->
					<!--{loop $_obj['data'] $v}-->
					<li><a href="{$v['url']}" title="{$v['subject']}"><!--{eval echo qbase::substrs($v['subject'], 34);}--></a></li>
					<!--{/loop}-->
				</ul>
			</div>
		</div>
	</div>
	<div class="floatclear"></div>
</div>

<div class="cbody  margintop friend-link">
	<h4 class="pics"><a href="{W_P}index.php?ac=friend_link">友情链接</a> <a href="{W_P}index.php?ac=friend_link&op=add" class="more">申请...</a></h4>
	<ul>
		<!--{eval $_obj = getFriendLink(9, true)}-->
		<!--{loop $_obj $val}-->
		<li><a href="{W_P}index.php?ac=friend_link&op=url&id={$val['id']}" target="_blank" title="{$val['name']}：{$val['description']}"><img src="{$val['logo']}" alt="{$val['name']}" /></a></li>
		<!--{/loop}-->
		<div class="clear"></div>
	</ul>
	<ul class="word">
		<!--{eval $_obj = getFriendLink(9, false)}-->
		<!--{loop $_obj $val}-->
		<li><a href="{W_P}index.php?ac=friend_link&op=url&id={$val['id']}" target="_blank" title="{$val['name']}：{$val['description']}">{$val['name']}</a></li>
		<!--{/loop}-->
		<div class="clear"></div>
	</ul>
</div>
<!--{template 'default/foot'}-->