This commit is contained in:
shim
2023-04-17 11:06:08 +09:00
parent d0b393aa97
commit 76264e09ad
4686 changed files with 552713 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
<?php
if(!defined('__KIMS__')) exit;
//***********************************************************************************
// 여기에 이 위젯에서 사용할 변수들을 정의합니다.
// 변수 작성법은 매뉴얼을 참고하세요.
//***********************************************************************************
$d['widget']['dom'] = array(
'card-default' => array(
'미디어셋 배너 그리드 기본형', //위젯명
array(
array('title','input','타이틀',''),
array('show_header','select','헤더출력','출력=show,숨김=hide','show'),
array('category','mediasetcat','미디어셋 카테고리',''),
array('line','select','한줄출력수','1개=col-12,2개=col-6,3개=col-4,4개=col-3,6개=col-2','col-6'),
array('limit','select','전체출력수','1개=1,2개=2,3개=3,4개=4,5개=5,6개=6,7개=7,8개=8,9개=9,10개=10,11개=11,12개=12','2'),
array('linktarget','select','링크타켓','내부=_self,새창=_blank','_self'),
),
),
);
?>

View File

@@ -0,0 +1,34 @@
<?php
$_mediasetque = 'site='.$s.' and category="'.$wdgvar['category'].'"';
$_RCD=getDbArray($table['s_upload'],$_mediasetque,'*','pid','asc',$wdgvar['limit'],1);
?>
<section class="widget mb-3 ">
<div class="<?php echo $wdgvar['container']?$wdgvar['container']:$d['layout']['home_container'] ?>">
<div class="py-5">
<?php if ($wdgvar['show_header']=='show'): ?>
<header>
<h5 class="widget-title text-center mb-4">
<?php echo $wdgvar['title'] ?>
</h5>
</header>
<?php endif; ?>
<div class="row gutter-half">
<?php $i=0;foreach($_RCD as $_R):?>
<div class="<?php echo $wdgvar['line'] ?>">
<a href="<?php echo $_R['linkurl']?$_R['linkurl']:'#' ?>" target="<?php echo $wdgvar['linktarget'] ?>">
<img src="<?php echo $_R['src'] ?>" class="img-fluid" alt="">
</a>
</div>
<?php $i++;endforeach?>
</div>
</div>
</div>
</section>

View File

@@ -0,0 +1 @@
배너 그리드 기본

View File

@@ -0,0 +1 @@
배너를 출력합니다.

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB