mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-02-01 01:29:58 +09:00
simulz님의 최근 이미지 위젯의 cloud 스킨 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@3073 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
ec8788e59c
commit
699d8a7fed
12 changed files with 287 additions and 0 deletions
86
widgets/newest_images/skins/cloud/list.html
Normal file
86
widgets/newest_images/skins/cloud/list.html
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
<!-- 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
|
||||
|
||||
<!--@if($colorset=="normal"||!$colorset)-->
|
||||
<!--%import("css/normal.css")-->
|
||||
<!--@end-->
|
||||
|
||||
<div class="imgcloudoutline">
|
||||
<!--@if($widget_info->title)-->
|
||||
<h2>{$widget_info->title}</h2>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if($widget_info->module_name)-->
|
||||
<a href="{getUrl('','mid',$widget_info->module_name)}" class="more">more</a>
|
||||
<!--@end-->
|
||||
|
||||
<!--@if(count($widget_info->document_list))-->
|
||||
{@ shuffle($widget_info->document_list)}
|
||||
|
||||
<!--@for($i = 0; $i < 14; $i++)-->
|
||||
{@
|
||||
$width = $widget_info->thumbnail_width ? $widget_info->thumbnail_width : "40";
|
||||
$height = $widget_info->thumbnail_height ? $widget_info->thumbnail_height : "40";
|
||||
$image[$i] = ($widget_info->document_list[$i]->document_srl) ? $widget_info->document_list[$i]->getThumbnail($width*2,$height*2,$widget_info->thumbnail_type) : $tpl_path."/images/blank.gif";
|
||||
$url[$i] = ($widget_info->document_list[$i]->document_srl) ? "href=\"".getUrl('','document_srl',$widget_info->document_list[$i]->document_srl)."\"" : "";
|
||||
}
|
||||
<!--@end-->
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tbody>
|
||||
<tr valign="middle">
|
||||
<td colspan="2" rowspan="2">
|
||||
<div class="imgcloudbig"><a {$url[0]}><img align="absmiddle" class="cloudimg" src="{$image[0]}" width="{$width*2+4}" height="{$height*2+4}" /></a></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[1]}><img align="absmiddle" class="cloudimg" src="{$image[1]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[2]}><img align="absmiddle" class="cloudimg" src="{$image[2]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[3]}><img align="absmiddle" class="cloudimg" src="{$image[3]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[4]}><img align="absmiddle" class="cloudimg" src="{$image[4]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[5]}><img align="absmiddle" class="cloudimg" src="{$image[5]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[6]}><img align="absmiddle" class="cloudimg" src="{$image[6]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="middle">
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[7]}><img align="absmiddle" class="cloudimg" src="{$image[7]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[8]}><img align="absmiddle" class="cloudimg" src="{$image[8]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[9]}><img align="absmiddle" class="cloudimg" src="{$image[9]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
<td colspan="2" rowspan="2">
|
||||
<div class="imgcloudbig"><a {$url[10]}><img align="absmiddle" class="cloudimg" src="{$image[10]}" width="{$width*2+4}" height="{$height*2+4}" /></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[11]}><img align="absmiddle" class="cloudimg" src="{$image[11]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[12]}><img align="absmiddle" class="cloudimg" src="{$image[12]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="imgcloud"><a {$url[13]}><img align="absmiddle" class="cloudimg" src="{$image[13]}" width="{$width}" height="{$height}" /></a></div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<!--@end-->
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue