-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviewxxxfull.tpl
executable file
·189 lines (189 loc) · 7.25 KB
/
viewxxxfull.tpl
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
<div class="header">
<h2>View > <strong>XXX Movie</strong></h2>
<div class="breadcrumb-wrapper">
<ol class="breadcrumb">
<li><a href="{$smarty.const.WWW_TOP}{$site->home_link}">Home</a></li>
/ View XXX
</ol>
</div>
</div>
{if $results|@count > 0}
<div class="box-body">
{foreach $results as $result}
<div id="moviefull" style="min-height:340px;">
{if $result.cover == 1}
<img class="pull-right" style="margin-right:50px; max-height:278px;"
alt="{$result.title|escape:"htmlall"} Logo"
src="{$smarty.const.WWW_TOP}/covers/xxx/{$result.id}-cover.jpg"/>
{else}
<img class="pull-right" style="margin-right:50px; max-height:278px;"
alt="{$result.title|escape:"htmlall"} Logo"
src="{$smarty.const.WWW_ASSETS}/images/nomoviecover.jpg"/>
{/if}
<span class="h1" style="display:inline;">{$result.title|escape:"htmlall"}</span>
<h4>{if $result.genre != ''}{$result.genre|replace:"|":" / "}{/if}</h4>
{if $result.tagline != ''}
<p class="lead" style="margin-right:300px;">"{$result.tagline|escape:"htmlall"}"</p>
{/if}
<dl style="margin-right:300px;">
{if isset($result.plot) && $result.plot != ''}
<dt>Plot</dt>
<dd>{$result.plot|escape:"htmlall"}</dd>
{/if}
{if isset($result.rating) && $result.rating != ''}
<dt>Rating</dt>
<dd>{$result.rating}
/10 {if isset($result.ratingcount) && $result.ratingcount != ''}({$result.ratingcount|number_format} votes)</dd>{/if}
{/if}
{if isset($result.director) && $result.director != ''}
<dt>Director</dt>
<dd>{$result.director|replace:"|":", "}</dd>
{/if}
{if isset($result.actors) && $result.actors != ''}
<dt>Actors</dt>
<dd>{$result.actors|replace:"|":", "}</dd>
{/if}
</dl>
</div>
<form id="nzb_multi_operations_form" action="get">
<div class="well well-sm">
<div class="nzb_multi_operations">
{if isset($section) && $section != ''}View:
<a href="{$smarty.const.WWW_TOP}/{$section}?t={$category}">Covers</a>
|
<b>List</b>
<br/>
{/if}
With Selected:
<div class="btn-group">
<input type="button" class="nzb_multi_operations_download btn btn-sm btn-success"
value="Download NZBs"/>
<input type="button" class="nzb_multi_operations_cart btn btn-sm btn-info"
value="Send to my Download Basket"/>
{if isset($sabintegrated) && $sabintegrated !=""}
<input type="button" class="nzb_multi_operations_sab btn btn-sm btn-primary"
value="Send to Queue"/>
{/if}
</div>
{if isset($isadmin)}
<div class="pull-right">
Admin:
<div class="btn-group">
<input type="button" class="nzb_multi_operations_edit btn btn-sm btn-warning"
value="Edit"/>
<input type="button" class="nzb_multi_operations_delete btn btn-sm btn-danger"
value="Delete"/>
</div>
</div>
{/if}
</div>
</div>
<div class="row">
<div class="col-lg-12 col-sm-12 col-xs-12">
<div class="panel panel-default">
<div class="panel-body pagination2">
<table style="width:100%;"
class="data table table-condensed table-striped table-responsive table-hover">
<tr>
<th>
<input id="chkSelectAll" type="checkbox" class="square-all"/>
<label for="chkSelectAll" style="display:none;">Select All</label>
</th>
<th>Name</th>
<th>Category</th>
<th>Posted</th>
<th>Size</th>
<th>Action</th>
</tr>
<tr class="{cycle values=",alt"}" id="guid{$result.grp_release_guid}">
<td class="check"><input id="chk{$result.grp_release_guid|substr:0:7}"
type="checkbox"
class="square"
value="{$result.grp_release_guid}"/></td>
<td class="item">
<a title="View details"
href="{$smarty.const.WWW_TOP}/details/{$result.grp_release_guid}">{$mname[$m@index]|escape:"htmlall"|replace:".":" "}</a>
<br/>
<span class="label label-default">{$result.grp_release_grabs}
grab{if $result.grp_release_grabs != 1}s{/if}</span>
{if isset($mnfo[$m@index]) && $mnfo[$m@index] > 0}<span
class="label label-default"><a
href="{$smarty.const.WWW_TOP}/nfo/{$result.grp_release_guid}"
class="text-muted">NFO</a>
</span>{/if}
{if $mpass[$m@index] == 2}
<i class="zmdi zmdi-lock"></i>
{elseif $mpass[$m@index] == 1}
<i class="zmdi zmdi-lock"></i>
{/if}
</td>
<td class="less"><span
class="label label-default">{$mcatname[$m@index]}</span>
</td>
<td class="less mid"
title="{$result.grp_release_postdate}">{$result.grp_release_postdate|timeago}</td>
<td class="less right">{$result.grp_release_size|filesize}</td>
<td class="icons">
<a title="Download NZB"
href="{$smarty.const.WWW_TOP}/getnzb?id={$result.grp_release_guid}"><i
class="icon icon_nzb zmdi zmdi-cloud-download text-muted"></i></a>
<a href="#" id="guid{$result.grp_release_guid}"
class="icon_cart text-muted"><i class="zmdi zmdi-shopping-basket"
title="Send to my Download Basket"></i></a>
{if isset($sabintegrated) && $sabintegrated !=""}
<a href="#" id="guid{$result.grp_release_guid}"
class="icon icon_sab text-muted"
title="Send to my Queue"><i
class="zmdi zmdi-share"></i></a>
{/if}
</td>
</tr>
</table>
<hr>
{if $results|@count > 10}
<div class="row">
<div class="col-md-8">
<div class="nzb_multi_operations">
{if isset($section) && $section != ''}View:
<a href="{$smarty.const.WWW_TOP}/{$section}?t={$category}">Covers</a>
|
<b>List</b>
<br/>
{/if}
With Selected:
<div class="btn-group">
<input type="button"
class="nzb_multi_operations_download btn btn-sm btn-success"
value="Download NZBs"/>
<input type="button"
class="nzb_multi_operations_cart btn btn-sm btn-info"
value="Send to my Download Basket"/>
{if isset($sabintegrated) && $sabintegrated !=""}
<input type="button"
class="nzb_multi_operations_sab btn btn-sm btn-primary"
value="Send to Queue"/>
{/if}
{if isset($isadmin)}
<input type="button"
class="nzb_multi_operations_edit btn btn-sm btn-warning"
value="Edit"/>
<input type="button"
class="nzb_multi_operations_delete btn btn-sm btn-danger"
value="Delete"/>
{/if}
</div>
</div>
</div>
{if count($results) > 0}
<div class="col-md-4">
{$results->links()}
</div>
{/if}
</div>
{/if}
</div>
</div>
</form>
{/foreach}
</div>
{/if}