-
Notifications
You must be signed in to change notification settings - Fork 0
/
list_download.html
66 lines (66 loc) · 2.58 KB
/
list_download.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{template "content","header"}
<link href="{CSS_PATH}download.css" rel="stylesheet" type="text/css" />
<!--main-->
<div class="main">
<!--left_bar-->
<div class="col-left">
<div class="crumbs"><a href="#">首页</a><span> > </span>{catpos($catid)}</div>
<!--最新下载-->
<div class="box mg_b10">
<h5>最新下载</h5>
<ul class="content news-photo col4">
{pc:content action="lists" catid="$catid" num="4" thumb="1" order="id DESC"}
{loop $data $r}
<li>
<div class="img-wrap">
<a href="{$r[url]}"><img src="{thumb($r[thumb],110,90)}" width="110" height="90"></a>
</div>
<a href="{$r[url]}" title="{$r[title]}" style="color:{$r[style]}">{str_cut($r[title],24,'')}</a>
</li>
{/loop}
{/pc}
</ul>
</div>
{pc:content action="lists" catid="$catid" num="15" order="id DESC" page="$page"}
<div class="box boxsbg">
{loop $data $r}
<dl class="down_list sysnews">
<dt><h5><a target="_blank" href="{$r[url]}" title="{$r[title]}">{$r[title]}</a></h5></dt>
<dd class="down_txt">{$r[description]}</dd>
<dd class="down_attribute align_r"><span class="icon_1">软件大小:{$r[filesize]}</span><span class="icon_3">星级:{$r[stars]}</span><span class="icon_4">更新时间:{date('Y-m-d',$r[inputtime])}</span></dd>
</dl>
{/loop}
<!--pages-->
<div class="text-c mg_t20" id="pages">{$pages}</div>
{/pc}
</div>
</div>
<!--right_bar-->
<div class="col-auto">
<!--广告228x90-->
<div class="brd mg_b10"><script language="javascript" src="{APP_PATH}caches/poster_js/5.js"></script></div>
<div class="box">
<h5 class="title-2">下载排行</h5>
<ul class="content digg">
{pc:content action="hits" catid="$catid" num="10" order="views DESC" cache="3600"}
{loop $data $r}
<li><a href="{$r[url]}" target="_blank">{$r[title]}</a></li>
{/loop}
{/pc}
</ul>
</div>
<div class="bk10"></div>
<div class="box">
<h5 class="title-2">推荐下载</h5>
<ul class="content digg">
{pc:content action="position" posid="5" order="listorder DESC" num="4"}
{loop $data $r}
<li><a href="{$r[url]}" title="{$r[title]}">{str_cut($r[title],34)}</a></li>
{/loop}
{/pc}
</ul>
</div>
</div>
</div>
<div class="bk10"></div>
{template "content","footer"}