<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!--angelcms{set string category_title=get_category_title(model.category_id,"资源下载")}-->
<title>{model.title} - {category_title} - {config.webname}</title>
<meta content="{model.seo_keywords}-powered by angelasp.com" name="keywords" />
<meta content="{model.seo_description}-powered by angelasp.com" name="description" />
<link rel="stylesheet" type="text/css" href="<!--angelcms{templateskin}-->/css/basic.css" />
<link rel="stylesheet" type="text/css" href="<!--angelcms{templateskin}-->/css/style.css" />
<script type="text/javascript" src="{config.webpath}scripts/jquery/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="{config.webpath}scripts/lhgdialog/lhgdialog.js?skin=idialog"></script>
<script type="text/javascript" src="<!--angelcms{templateskin}-->/js/base.js"></script>
</head>
<body >
<!--顶部-->
<!--Header-->
<!--angelcms{template src="header.html"}-->
<!--/Header-->
<!--中间区块-->
<div id="content-block">
<div class="content-block-width">
	<div id="bd">
	<div id="innerpg" class="bd-inner">
    <!--检查这里是否为一样-->
	<div class="clearfix layout-innerpg ">

		<div class="col-main">
		<div class="main-wrap">

			<div id='article-view' class="block first-block block-article-view">
				<div class="block-head">
			<div class="head-inner" style="width:auto;background:url('<!--angelcms{templateskin}-->/images/detail_nav.gif')">
         <h2 class="title" style="color:#ffffff">当前位置：<a href="<!--angelcms{linkurl("index")}-->" style="color:#ffffff">首页 </a>&gt;&gt;资源下载</h2>		
					</div>
				</div>

	<div class="block-content clearfix">

      <div class="meta">
        <h1 class="meta-tit">{model.title}</h1>
        <p class="meta-info">
          <span class="time">{model.add_time}</span>
          <span class="comm"><script type="text/javascript" src="{config.webpath}tools/submit_ajax.ashx?action=view_comment_count&id={model.id}"></script>人评论</span>
          <span class="view"><script type="text/javascript" src="{config.webpath}tools/submit_ajax.ashx?action=view_article_click&id={model.id}&click=1"></script>次浏览</span>
          分类：{category_title}
        </p>
      </div>
      
      <div class="entry" style="padding-left:10px">
        {model.content}
      </div>      
      <!--分享-->
      <!--angelcms{template src="share_js.html"}-->
      <!--/分享-->  
      <div class="clear"></div>
      <!--附件列表-->
      <div class="attach_list">
        <h3 class="base_tit">附件下载</h3>
        <ul>
          <!--angelcms{if(model.attach!=null)}-->
          <!--angelcms{loop (Angelcms.Model.Age_article_attach) modelt1 model.attach}-->
          <li><span><a href="javascript:;" onclick="downLink({modelt1.point}, '{config.webpath}tools/download.ashx?id={modelt1.id}');">点击下载</a></span>附件{modelt1__loop__id}：{modelt1.file_name}
          <i>大小：
            <!--angelcms{if {modelt1.file_size}>1024}-->
            <!--angelcms{csharp}-->
            string tempSize = (modelt1.file_size/1024).ToString("#.##");
            <!--angelcms{/csharp}-->
            {tempSize}MB
            <!--angelcms{else}-->
            {modelt1.file_size}KB
            <!--angelcms{/if}-->
          </i>
          <i>下载：<script type="text/javascript" src="{config.webpath}tools/submit_ajax.ashx?action=view_attach_count&id={modelt1.id}"></script>次</i>
          <i>所需积分：{modelt1.point}分</i></li>
          <!--angelcms{/loop}-->
          <!--angelcms{/if}-->
        </ul>
      </div>
      <!--/附件列表-->
      <div class="line10"></div>

      <!--同类推荐-->
      <div class="related">
        <h3 class="base_tit">相关资源</h3>
        <ul class="txt_list">
          <!--angelcms{set DataTable reddown1=get_article_list("down", model.category_id, 8, "is_red=1 and id<>"+model.id)}-->
          <!--angelcms{foreach(DataRow dr in reddown1.Rows)}-->
          <li><a href="<!--angelcms{linkurl("down_show",{dr[id]})}-->">{dr[title]}</a><span>( {dr[add_time]} )</span></li>
          <!--angelcms{/foreach}-->
          <!--angelcms{if(reddown1.Rows.Count<1)}-->
          <div>同类下暂无推荐的资源...</div>
          <!--angelcms{/if}-->
        </ul>
      </div>
      <!--/同类推荐-->
			</div>
				<div class="block-foot"><div><div>-</div></div></div>
			</div>
		
      <!--评论-->
      <!--angelcms{if(model.is_msg==1)}-->
      <!--angelcms{template src="comment_box.html"}-->
      <!--angelcms{/if}-->
      <!--/评论-->

			</div>
		</div>


		<div class="col-sub">
			<div class="block first-block block-products  list-240" id="block-products-89305" rel="89305">    <div class="block-head">    <div class="head-inner">
	    	<h2 class="title">资源类别</h2><div class="links"><a class="more" href="/products">更多</a></div>    </div>
    </div>    <div class="block-content clearfix">
    	<div class="item-list">
	    <ul class="clearfix">								
        <!--angelcms{set DataTable category_list1=get_category_list("down", 0)}-->
        <!--angelcms{foreach(DataRow dr in category_list1.Rows)}-->
        <li><a title="{dr[title]}" href="<!--angelcms{linkurl("down_list",{dr[id]})}-->">{dr[title]}</a></li>
        <!--angelcms{/foreach}-->								
				</ul>   
				</div>
    </div>
    <div class="block-foot"><div><div>-</div></div></div></div><div class="block last-block block-articles  list-240" id="block-articles-89306" rel="89306">    <div class="block-head">    <div class="head-inner">
	    	<h2 class="title">推荐文章</h2><div class="links"><a class="more" href="/articles">更多</a></div>    </div>
    </div>    <div class="block-content clearfix">
    	<div class="item-list">
	    <ul class="clearfix">
 <!--angelcms{set DataTable rednews1=get_article_list("news", 0, 10, "status=0 and is_red=1")}-->
        <!--angelcms{foreach(DataRow dr in rednews1.Rows)}-->
        <li><a title="{dr[title]}" href="<!--angelcms{linkurl("news_show",{dr[id]})}-->"><!--angelcms{cutstring({dr[title]},30)}--></a></li>
        <!--angelcms{/foreach}-->
          </ul> 
		  </div>
    </div>
    <div class="block-foot"><div><div>-</div></div></div></div>		</div></div>
	</div>
	</div>
</div>
</div>

<!--Footer-->
<!--angelcms{template src="footer.html"}-->
<!--/Footer-->
</body>
</html>
