rhymix/widgets/newest_images/skins/cloud_preview/list.html

61 lines
5.6 KiB
HTML

<!--// 설정된 컬러셋의 종류에 따라서 css파일을 import 합니다 -->
<!--@if($colorset=="normal"||!$colorset)-->
<!--%import("css/normal.css")-->
<!--@end-->
<!--@if(count($widget_info->document_list))-->
{@ shuffle($widget_info->document_list)}
<!--@end-->
<!--@if(!$widget_info->thumbnail_width)-->
{@ $width = 40}
<!--@else-->
{@ $width = $widget_info->thumbnail_width }
<!--@end-->
<!--@if(!$widget_info->thumbnail_height)-->
{@ $height = 40}
<!--@else-->
{@ $height = $widget_info->thumbnail_height }
<!--@end-->
<div class="imgcloudoutline_preview">
<!--@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-->
<!--@for($i = 0; $i < $widget_info->rows_list_count; $i++)-->
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr valign="middle">
<td colspan="2" rowspan="2"><a href="{$widget_info->document_list[$i*14+0]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+0]->getThumbnail($width*2+2, $height*2+2, $widget_info->thumbnail_type)}" width="{$width*2+2}" height="{$height*2+2}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td><a href="{$widget_info->document_list[$i*14+1]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+1]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td><a href="{$widget_info->document_list[$i*14+2]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+2]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td><a href="{$widget_info->document_list[$i*14+3]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+3]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
</tr>
<tr>
<td><a href="{$widget_info->document_list[$i*14+4]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+4]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td><a href="{$widget_info->document_list[$i*14+5]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+5]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td><a href="{$widget_info->document_list[$i*14+6]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+6]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
</tr>
<tr valign="middle">
<td><a href="{$widget_info->document_list[$i*14+7]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+7]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td><a href="{$widget_info->document_list[$i*14+8]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+8]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td><a href="{$widget_info->document_list[$i*14+9]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+9]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td colspan="2" rowspan="2"><a href="{$widget_info->document_list[$i*14+10]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+10]->getThumbnail($width*2+2, $height*2+2, $widget_info->thumbnail_type)}" width="{$width*2+2}" height="{$height*2+2}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
</tr>
<tr>
<td><a href="{$widget_info->document_list[$i*14+11]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+11]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td><a href="{$widget_info->document_list[$i*14+12]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+12]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
<td><a href="{$widget_info->document_list[$i*14+13]->getPermanentUrl()}"><img class="cloudimg" src="{$widget_info->document_list[$i*14+13]->getThumbnail($width, $height, $widget_info->thumbnail_type)}" width="{$width}" height="{$height}" onerror="this.src='./common/tpl/images/blank.gif'" alt="" /></a></td>
</tr>
</tbody>
</table>
<!--@end-->
</div>