-
Notifications
You must be signed in to change notification settings - Fork 3
/
_style.gallery.html
154 lines (151 loc) · 10.7 KB
/
_style.gallery.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
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
<table cond="$document_list || $notice_list" class="table table-hover">
<!--@if($module_info->display_listheadset_button != 'N')-->
<thead>
<!--// 테이블 헤더 -->
<tr>
<block loop="$list_config=>$key,$val">
<th scope="col" cond="$val->type=='no' && $val->idx==-1" class="hidden-xs width70" ><a href="{getUrl('order_type',$order_type)}" title="<!--@if($order_type=="desc")-->{$lang->order_desc}<!--@else-->{$lang->order_asc}<!--@end-->">{$lang->no}</a>
</th>
<block cond="$val->type=='title' && $val->idx==-1">
<th scope="col" cond="$module_info->use_category=='Y'" class="hidden-xs width70">{$lang->category}
</th>
<th scope="col" class="text-center"><a href="{getUrl('sort_index','title','order_type',$order_type)}">{$lang->title} <i cond="$sort_index=='title'" class="fa fa-sort-asc fa-fw"></i></a>
</th>
</block>
<th scope="col" cond="$val->type=='nick_name' && $val->idx==-1" class="hidden-xs tableuser">{$lang->writer}
</th>
<th scope="col" cond="$val->type=='user_id' && $val->idx==-1" class="hidden-xs tableuser">{$lang->user_id}
</th>
<th scope="col" cond="$val->type=='user_name' && $val->idx==-1" class="hidden-xs tableuser">{$lang->user_name}
</th>
<th scope="col" cond="$val->type=='regdate' && $val->idx==-1" class="tabledate"><a href="{getUrl('sort_index','regdate','order_type',$order_type)}">{$lang->date}<i cond="$sort_index=='regdate'" class="fa fa-sort-asc fa-fw"></i></a>
</th>
<th scope="col" cond="$val->type=='last_update' && $val->idx==-1" class="hidden-xs tabledate"><a href="{getUrl('sort_index','last_update','order_type',$order_type)}">최근수정일<i cond="$sort_index=='last_update'" class="fa fa-sort-asc fa-fw"></i></a>
</th>
<th scope="col" cond="$val->type=='last_post' && $val->idx==-1" class="hidden-xs tabledate">{$lang->last_post}
</th>
<th scope="col" cond="$val->type=='readed_count' && $val->idx==-1" class="hidden-xs width70"><a href="{getUrl('sort_index','readed_count','order_type',$order_type)}">조회<i cond="$sort_index=='readed_count'" class="fa fa-sort-asc fa-fw"></i></a>
</th>
<th scope="col" cond="$val->type=='voted_count' && $val->idx==-1" class="hidden-xs width70"><a href="{getUrl('sort_index','voted_count','order_type',$order_type)}">추천<i cond="$sort_index=='voted_count'" class="fa fa-sort-asc fa-fw"></i></a>
</th>
<th scope="col" cond="$val->idx!=-1" class="hidden-xs"><a href="{getUrl('sort_index',$val->eid,'order_type',$order_type)}">{$val->name}</a>
</th>
</block>
<th scope="col" cond="$grant->manager" class="width20"><input class="checkbox" type="checkbox" onclick="XE.checkboxToggleAll({ doClick:true });" title="Check All" />
</th>
</tr>
</thead>
<!--@end-->
<tbody>
<!--// Notice -->
<tr loop="$notice_list=>$no,$document" class="active">
<block loop="$list_config=>$key,$val">
<td cond="$val->type=='no' && $val->idx==-1" class="hidden-xs width70">
<block cond="$document_srl==$document->document_srl">»</block><strong cond="$document_srl!=$document->document_srl">{$lang->notice}</strong>
</td>
<block cond="$val->type=='title' && $val->idx==-1">
<td cond="$module_info->use_category=='Y'" class="hidden-xs width70" style="color:{$category_list[$document->get('category_srl')]->color}"|cond="$category_list[$document->get('category_srl')]->color!='transparent'"><strong>{$category_list[$document->get('category_srl')]->title}</strong></td>
<td>
<a href="{getUrl('document_srl',$document->document_srl, 'listStyle', $listStyle, 'cpage','')}"><strong>{$document->getTitle($module_info->subject_cut_size)}</strong></a>
<!--@if($document->getCommentCount())-->
<small><a href="{getUrl('document_srl', $document->document_srl)}#comment">{$document->getCommentCount()}</a></small>
<!--@end-->
<!--@if($document->getTrackbackCount())-->
<small><a href="{getUrl('document_srl', $document->document_srl)}#trackback">{$document->getTrackbackCount()}</a></small>
<!--@end-->
<!--@if((int)($document->getRegdate('YmdHis')>date("YmdHis", time()-$module_info->duration_new*60*60)))-->
<small><span class="label label-primary"><b>new</b></span></small>
<!--@else-->
<!--@if((int)(zdate($document->get('last_update'),'YmdHis')>date("YmdHis", time()-$module_info->duration_new*60*60)))-->
<small><span class="label label-success"><b>update</b></span></small>
<!--@end-->
<!--@end-->
<!--@if($document->hasUploadedFiles())--><small><span class="label label-info"><b>file</b></span></small><!--@end-->
<!--@if($document->variables[status]=='SECRET')--><small><span class="label label-warning"><b>secret</b></span></small><!--@end-->
</td>
</block>
<td cond="$val->type=='nick_name' && $val->idx==-1" class="hidden-xs tableuser"><a href="#popup_menu_area" class="member_{$document->get('member_srl')} nocolorlist" onclick="return false" title="{$document->getNickName()}"><span>{$document->getNickName()}</span></a></td>
<td cond="$val->type=='user_id' && $val->idx==-1" class="hidden-xs tableuser">{$document->getUserID()}</td>
<td cond="$val->type=='user_name' && $val->idx==-1" class="hidden-xs tableuser">{$document->getUserName()}</td>
<td cond="$val->type=='regdate' && $val->idx==-1" class="tabledate">{$document->getRegdate('Y.m.d')}</td>
<td cond="$val->type=='last_update' && $val->idx==-1" class="hidden-xs tabledate">{zdate($document->get('last_update'),'Y.m.d')}</td>
<td cond="$val->type=='last_post' && $val->idx==-1" class="hidden-xs tabledate">
<block cond="(int)($document->get('comment_count'))>0">
<a href="{getUrl('document_srl',$document->document_srl)}#{$document->document_srl}_comment" title="{getTimeGap($document->get('last_update'), "H:i")}">{zdate($document->get('last_update'),'Y.m.d')}<small cond="$document->getLastUpdater()">(by {$document->getLastUpdater()})</small></a>
</block>
<block cond="(int)($document->get('comment_count'))==0"> </block>
</td>
<td cond="$val->type=='readed_count' && $val->idx==-1" class="hidden-xs width70">{$document->get('readed_count')>0?$document->get('readed_count'):'0'}</td>
<td cond="$val->type=='voted_count' && $val->idx==-1" class="hidden-xs width70">{$document->get('voted_count')!=0?$document->get('voted_count'):'0'}</td>
<td cond="$val->idx!=-1" class="m_no"|cond="$val->eid!='link_url'" class="hidden-xs">{$document->getExtraValueHTML($val->idx)}</td>
</block>
<td cond="$grant->manager" class="20"><input class="checkbox" type="checkbox" name="cart" value="{$document->document_srl}" title="Check This Article" onclick="doAddDocumentCart(this)" checked="checked"|cond="$document->isCarted()" /></td>
</tr>
</tbody>
</table>
<!--// Normal -->
<!--@if($module_info->display_thumbnailcover=='Y')--><div class="row"><!--@end-->
<div class="<!--@if($module_info->display_thumbnailnum=='two')-->col-lg-6 col-md-6 col-sm-6 col-xs-12<!--@elseif($module_info->display_thumbnailnum=='three')-->col-lg-4 col-md-4 col-sm-4 col-xs-12<!--@else-->col-lg-3 col-md-3 col-sm-4 col-xs-12<!--@end-->" loop="$document_list=>$no,$document">
<!--@if($module_info->display_thumbnailcover=='Y')-->
<div class="thumbnailover relative noimgwh">
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}" >
<!--@if($document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->
<!--@if($document->variables[status]!='SECRET'||$logged_info->is_admin=='Y'||$logged_info->member_srl==$document->variables[member_srl])-->
<div class="thumbnailgrow"><div class="wrap">
<img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" alt=".." class="thumbnailimg"></div></div>
<!--@else-->
<div class="wrap focus"><div class="padding10">비밀글입니다</div></div>
<!--@end-->
<!--@else-->
<div class="thumbnailcoverimg wrap focus text-center">
<h4>{$document->getTitle($module_info->subject_cut_size)}</h3>
<p class="content">{$document->getSummary($module_info->content_cut_size)}</p>
<p><span class="btn btn-default" role="button">View details »</span></p>
</div>
<!--@end-->
<div class="thumbnailcover text-center">
<h4>{$document->getTitle($module_info->subject_cut_size)}</h3>
<p class="content">{$document->getSummary($module_info->content_cut_size)}</p>
<p><span class="btn btn-primary" role="button">View details »</span></p>
</div>
</a>
<div cond="$grant->manager" class="rcheckbox">
<input cond="$grant->manager" class="checkbox" type="checkbox" name="cart" value="{$document->document_srl}" title="Check this" onclick="doAddDocumentCart(this)" checked="checked"|cond="$document->isCarted()" />
</div>
<div class="ricon">
<!--@if($document->variables[status]=='SECRET')-->
<span class="label label-success">secret</span>
<!--@elseif((int)($document->getRegdate('YmdHis')>date("YmdHis", time()-$module_info->duration_new*60*60)))-->
<span class="label label-primary">new</span>
<!--@elseif((int)(zdate($document->get('last_update'),'YmdHis')>date("YmdHis", time()-$module_info->duration_new*60*60)))-->
<span class="label label-success">update</span>
<!--@end-->
</div>
</div>
<!--@else-->
<div class="thumbnail relative" >
<a href="{getUrl('document_srl',$document->document_srl,'listStyle',$listStyle, 'cpage','')}" >
<!--@if($document->thumbnailExists($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type))-->
<!--@if($document->variables[status]!='SECRET'||$logged_info->is_admin=='Y'||$logged_info->member_srl==$document->variables[member_srl])-->
<div class="thumbnailgrow noimgwh"><div class="wrap">
<img src="{$document->getThumbnail($module_info->thumbnail_width, $module_info->thumbnail_height, $module_info->thumbnail_type)}" alt=".." class="thumbnailimg"></div></div>
<!--@else-->
<div class="noimgwh"><div class="wrap focus"><div class="padding10">비밀글입니다</div></div></div>
<!--@end-->
<!--@else-->
<div class="noimgwh"><div class="wrap focus"></div></div>
<!--@end-->
<div cond="$grant->manager" class="rcheckbox">
<input cond="$grant->manager" class="checkbox" type="checkbox" name="cart" value="{$document->document_srl}" title="Check this" onclick="doAddDocumentCart(this)" checked="checked"|cond="$document->isCarted()" />
</div>
<div class="rsub padding10">
{$document->getTitle($module_info->subject_cut_size)}</br>
{$category_list[$document->get('category_srl')]->title} by {$document->getNickName()}
</div>
</a>
</div>
<!--@end-->
</div>
<!--@if($module_info->display_thumbnailcover=='Y')--></div><!--@end-->
<div class="clearfix"></div>