<!--{template 'default/head'}-->
<script type="text/javascript">
domReady(function(){
	if($('comment_box') != null){
		AJAX.get(config.url + 'index.php?ac=comment&channelid={$channelid}&id={$id}', function(resp){
			$('comment_box').innerHTML = resp;
			evalscript(resp);
		});
	}
});
</script>
<div class="main cbody margintop">
	<div class="thisplace">
		<div class="placenav">
			<span>当前位置 :</span>
			<a href="{W_P}">网站首页</a> &gt; <a href="<!--{echo toPath($channelid);}-->">{$channelname}</a> 
			<!--{eval $_obj = menuPath();}-->
			<!--{loop $_obj $val}-->
				&gt; <a href="{$val['url']}">{$val['name']}</a> 
			<!--{/loop}-->
			 {$channeltitle}信息
		</div>
	</div>
	<div class="pright">
        <div class="classbox">
			<dl>
				<h3><span>栏目列表</span></h3>
				<dd style="padding-top:8px;border-top:1px solid #DDDDDD">
					<ul>
					<!--{eval $_obj = menus($channelid, $info['cupid']);}-->
					<!--{loop $_obj $v}-->
						<li <!--{if $v['cid'] == $cid}--> class='on'<!--{/if}-->><a href="{$v['url']}">{$v['title']}</a></li>
					<!--{/loop}-->
					</ul>
				</dd>
			</dl>
		</div>
		<div class="classbox margintop">
			<div>
				<h3><span>热门下载</span></h3>
				<div class="rbox">
					<ul>
					<!--{cms $_obj = cmsQuery("channelid={$channelid}&cid={$cid}&order=views desc&pagesize=10&cacheTime=3600");}-->
					<!--{loop $_obj['data'] $v}-->
						<li><a href="{$v['url']}"><!--{eval echo qbase::substrs($v['subject'], 30);}--></a></li>
					<!--{/loop}-->
					</ul>
				</div>
			</div>
		</div>
	</div>
	<div class="pleft">
		<div class="stitle">{$_output['subject']}</div>
		<div class="sview margintop">
			<div class="sinfo">
				<ul>
					<li><strong>软件大小：</strong>{$_output['size']}KB</li>
					<li><strong>下载次数：</strong><span id="count-view">loading...</span></li>
					<!--{if $_output[softtype]}--><li><strong>软件类别：</strong>{$_output['op_softtype']}</li><!--{/if}-->
					<li><strong>软件语言：</strong>{$_output['op_language']}</li>
					<li><strong>授权方式：</strong>{$_output['op_use_type']}</li>
					<li><strong>插件安装：</strong>{$_output['op_plugin']}</li>
					<li><strong>运行环境：</strong>{$_output['op_systems']}</li>
					<li><strong>更新时间：</strong><!--{echo qbase::formatTime("Y-n-d H:i", $_output['dateline'])}--></li>
					<li><strong>星级推荐：</strong>{$_output['stars_img']}</li>
					<li><strong>官方网址：</strong><a href="{$_output['source']}" target='_blank'><!--{if $_output['author']}-->{$_output['author']}<!--{else}-->Home Page<!--{/if}--></a></li>
					<li><strong>下载信息：</strong><!--{if $_output['requirepoint']}-->下载所需点数 <strong><font color=red>{$_output['requirepoint']}</font></strong> 点<!--{else}-->免费下载<!--{/if}--></li>
					<!--{eval $tag = getTag($channelid, $id);}-->
					<!--{if $tag}-->
					<li><strong>{$channeltitle}Tag：</strong><!--{loop $tag $val}--><a href="{W_P}index.php?ac=search&type=tag&kid={$val['kid']}" style="margin:0 6px;">{$val['name']}</a><!--{/loop}--></li>
					<!--{/if}-->
				</ul>
				<div class="spic"> <img width="282" height="206" src="{$_output[thumb]}" onerror="this.src='{W_P}images/nopic.gif'" /></div>

				<!--{template 'default/digg_element'}-->
				<div class="clear"></div>
			</div>
			<div class="vtitle">软件简介：</div>
			<div class="sintro" id="html-format">
			  {$_output['description']}
            </div>
			<div class="vtitle">下载地址：</div>
			<!--{if $_output['paid'] == 0}-->
			<div style="margin:10px 15px">
				<a href="{W_P}index.php?mod={$channelid}&ac=showdown&id={$id}"><img src="{W_P}images/download.gif" /></a>
			</div>
			<!--{elseif $_output['paid'] == 1 || $_output['paid'] == 2}-->
			<div class='pay-error' id="pay-info"><p>提示信息：数据加载中，请等待...</p></div>
			<script type="text/javascript">
			domReady(function(){
				var url = config.url + 'index.php?mod={$channelid}&ac=showdown&id={$id}';
				var param = '{$_output['pay_param']}';
				Ajax.get(config.url + 'index.php?ac=pay&param='+param, function(resp){
					var json = evaljson(resp);
					if(json['status'] == 200){
						$('pay-info').innerHTML = ( json['paytype'] == true || parseInt(json['pay_log']) > 0 ? "<p>提示信息：此文档为收费内容，但您不需要支付即可下载<p><p style='padding-top:10px'><a href='"+(url + (url.match(/\?/) ? '&' : '?') + 'param=' + json['location'])+"'><img src='{W_P}images/download.gif' align='top' /></a></p>" : "<p>提示信息：此文档为收费内容，您需要支付<strong>"+json.info.point+"</strong>点才能下载，<a onclick=\"qmeCms.pay.pay('"+json.pay_link+"', '"+url+"');\" href='javascript:void(0);'>点击支付</a>" ) + '</p>';
					}else{
						$('pay-info').innerHTML = '<p>提示信息：'+json.message + '</p>';
					}
				});
			});
			</script>
			<!--{/if}-->
			<div class="downdoc">
				<ul>
					<li>推荐使用网际快车下载本站软件，使用 WinRAR v3.10 以上版本解压本站软件。</li>
					<li>如果这个软件总是不能下载的请点击报告错误,谢谢合作!!</li>
					<li>下载本站资源，如果服务器暂不能下载请过一段时间重试！</li>
					<li>如果遇到什么问题，请到本站论坛去咨寻，我们将在那里提供更多 、更好的资源！</li>
					<li>本站提供的一些商业软件是供学习研究之用，如用于商业用途，请购买正版。</li>
				</ul>
			</div>
		</div>
		<!--{if !$_output['nocoment'] && $_category_info['c_allow']}-->
			<a name='comment'></a>
			<div class="comment"  id="comment_box" style="margin-top:10px;">
				<p style="margin:15px;" class="loading">评论加载中，请等待...</p>
			</div>
		<!--{/if}-->
	</div>
	<div class="floatclear"></div>
</div>
<!--{template 'default/foot'}-->

