|
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17 System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64 User : nobody ( 99) PHP Version : 5.2.17 Disable Function : NONE Directory : /home/queenjbs/xe/widgets/content/skins/test1/ |
Upload File : |
<!--// 목록형 출력 -->
<!--@if($widget_info->markup_type=="list")-->
{@$have_first_thumbnail=false}
<!--@if(count($widget_info->content_items) && $widget_info->content_items[0]->haveFirstThumbnail())-->
{@$thumbnail_idx = $widget_info->content_items[0]->getFirstThumbnailIdx() }
{@$have_first_thumbnail=true}
<p class="widgetThumb floatLeft" style="margin-right:-{$widget_info->thumbnail_width}px">
<a href="{$widget_info->content_items[$thumbnail_idx]->getLink()}" class="thumb"><img src="{$widget_info->content_items[$thumbnail_idx]->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"></a>
</p>
<!--@end-->
<div<!--@if($have_first_thumbnail)--> style="padding-left:{$widget_info->thumbnail_width+10}px"<!--@end-->>
<ul class="widgetA">
{@$_idx=0}
<!--@foreach($widget_info->content_items as $key => $item)-->
<li<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
<!--@if($v=='title')-->
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}" class="board"><strong>{$item->getBrowserTitle()}</strong></a>
<!--@end-->
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
<!--@end-->
<a href="{$item->getLink()}">{$item->getTitle($widget_info->subject_cut_size)}</a>
<!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
<sup class="replyNum" title="Replies"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></sup>
<!--@end-->
<!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
<sup class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></sup>
<!--@end-->
<!--@if($widget_info->show_icon=='Y')-->
<span class="icon">{$item->printExtraImages()}</span>
<!--@end-->
<!--@else if($v=='nickname')-->
<a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a>
<!--@else if($v=='regdate')-->
<span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span>
<!--@end-->
<!--@end-->
</li>
{@$_idx++}
<!--@end-->
</ul>
</div>
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
<ul class="widgetNavigator">
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
<li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
</ul>
<!--@end-->
<!--// 테이블형 출력 -->
<!--@else-->
{@$have_first_thumbnail=false}
<!--@if(count($widget_info->content_items) && $widget_info->content_items[0]->haveFirstThumbnail())-->
{@$thumbnail_idx = $widget_info->content_items[0]->getFirstThumbnailIdx() }
{@$have_first_thumbnail=true}
<p class="widgetThumb floatLeft" style="margin-right:-{$widget_info->thumbnail_width}px">
<a href="{$widget_info->content_items[$thumbnail_idx]->getLink()}" class="thumb"><img src="{$widget_info->content_items[$thumbnail_idx]->getThumbnail()}" style="width:{$widget_info->thumbnail_width}px;height:{$widget_info->thumbnail_height}px"></a>
</p>
<!--@end-->
<div<!--@if($have_first_thumbnail)--> style="padding-left:{$widget_info->thumbnail_width+10}px"<!--@end-->>
<table class="widgetTableA" border="1" cellspacing="0">
<tbody>
{@$_idx=0}
<!--@foreach($widget_info->content_items as $key => $item)-->
<tr<!--@if($_idx >= $widget_info->list_count)--> style="display:none"<!--@end-->>
<!--@foreach($widget_info->option_view_arr as $k => $v)-->
<!--@if($v=='title')-->
<td class="title">
<!--@if($widget_info->show_browser_title=='Y' && $item->getBrowserTitle())-->
<a href="{getSiteUrl($item->domain, '', 'mid', $item->get('mid'))}"><strong class="board">{$item->getBrowserTitle()}</strong></a>
<!--@end-->
<!--@if($widget_info->show_category=='Y' && $item->getCategory())-->
<a href="{getSiteUrl($item->domain,'','mid',$item->get('mid'),'category',$item->get('category_srl'))}"><strong class="category">{$item->getCategory()}</strong></a>
<!--@end-->
<a href="{$item->getLink()}">{$item->getTitle($widget_info->subject_cut_size)}</a>
<!--@if($widget_info->show_comment_count=='Y' && $item->getCommentCount())-->
<sup class="replyNum" title="Replies"><a href="{$item->getLink()}#comment">{$item->getCommentCount()}</a></sup>
<!--@end-->
<!--@if($widget_info->show_trackback_count=='Y' && $item->getTrackbackCount())-->
<sup class="trackbackNum" title="Trackbacks"><a href="{$item->getLink()}#trackback">{$item->getTrackbackCount()}</a></sup>
<!--@end-->
<!--@if($widget_info->show_icon=='Y')-->
<span class="icon">{$item->printExtraImages()}</span>
<!--@end-->
</td>
<!--@else if($v=='nickname')-->
<td><a href="#" onclick="return false;" class="author member_{$item->getMemberSrl()}">{$item->getNickName()}</a></td>
<!--@else if($v=='regdate')-->
<td class="time"><span class="date">{$item->getRegdate("Y-m-d")}</span> <span class="hour">{$item->getRegdate("H:i")}</span></td>
<!--@end-->
<!--@end-->
</tr>
{@$_idx++}
<!--@end-->
</tbody>
</table>
</div>
<!--@if($widget_info->page_count > 1 && $widget_info->list_count<$_idx)-->
<ul class="widgetNavigator">
<li><button type="button" class="prev" title="{$lang->cmd_prev}" onclick="content_widget_prev(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_prev}</span></button></li>
<li><button type="button" class="next" title="{$lang->cmd_next}" onclick="content_widget_next(jQuery(this).parents('ul.widgetNavigator').prev('div').children('table.widgetTableA'),{$widget_info->list_count})"><span>{$lang->cmd_next}</span></button></li>
</ul>
<!--@end-->
<!--@end-->