메인롤링배너 관련 보이는 순서 ㅠㅠ > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

메인롤링배너 관련 보이는 순서 ㅠㅠ 정보

메인롤링배너 관련 보이는 순서 ㅠㅠ

본문

메인화면에 좌측으로 움직이는 배너를 달았습니다.
http://fashionfair.co.kr/

그런데 이미지를 뿌려주는 순서를 도통 알수가 없네요.
글쓴순서로 고정하고싶은데 어디를 수정해야할지를 모르겠습니다.

어느부분을 수정해야할까요?  수고스럽겠지만 도와주세요 ㅠㅠ
 latest.skin.php
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$latest_skin_path/skin.lib.php");
include_once("$g4[path]/lib/thumb.lib.php");

$img_width = 780; // 이미지 가로 사이즈
$img_height = 300; // 이미지 세로 사이즈

$data_path = $g4[path]."/data/file/".$bo_table;
$thumb_path = $data_path.'/thumb_img_list';

@mkdir($thumb_path, 0707);
@chmod($thumb_path, 0707);
?>

<link href="<?=$latest_skin_path?>/css/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
.MainSlideBanner span.frame {behavior:url(<?=$latest_skin_path?>/css/iepngfix.htc);}
</style>
<script src="<?=$latest_skin_path?>/js/jquery.bxslider2.0.1.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#SlideBlock').bxSlider({
alignment: 'horizontal',
prev_image: '<?=$latest_skin_path?>/img/banner_arrow_l.png',
next_image: '<?=$latest_skin_path?>/img/banner_arrow_r.png',
wrapper_class: 'SlideBlockWrap',
stop_text: '<img src="<?=$latest_skin_path?>/img/stop.gif" alt="stop" />',
start_text: '<img src="<?=$latest_skin_path?>/img/start.gif" alt="start" />',
margin: 0,
auto: true,
auto_controls: true
});
});
</script>

<div class="MainSlideBanner">
<ul id="SlideBlock">
<?
for ($i=0; $i<count($list); $i++) {

?>

<?
$banner_background = "";
// 이미지 체크
$image = $list[$i][file][0][file]; //원본
    $ori="$g4[path]/data/file/$bo_table/" . $image;
    $ext = strtolower(substr(strrchr($ori,"."), 1)); //확장자
   
// 이미지가 있다면.
if ($ext=="gif"||$ext=="jpg"||$ext=="jpeg"||$ext=="png"||$ext=="bmp"||$ext=="tif"||$ext=="tiff") {

// 섬네일 경로 만들기 + 섬네일 생성
$list_img_path = $list[$i][file][0][path]."/".$list[$i][file][0][file];
$list_thumb = thumbnail($data_path. "/".$image, $imgwidth, $imgheight, 0, 1);  //썸네일 생성
$banner_background = "background:url(".$list_thumb.") no-repeat center;";
}



?>
<li style=" <?php echo $banner_background;?> ">
<div class="mom">
<div class="DarkBlock"></div>
</div>
<div class="mom1">
<div class="TextBlock">
<!-- 제목표시-->
<div class="Subject"><?php if($list[$i][link][1]){ ?><a href="<?=$list[$i][link][1]?>" style="color:#ffffff;" ><? } ?><?=cut_str(strip_tags($list[$i][wr_subject]),37," ")?><?php if($list[$i][link][1]){ ?></a><? } ?> </div>
<!--날짜표시-->
<div class="Subject"><?php if($list[$i][link][1]){ ?><a href="<?=$list[$i][link][1]?>" style="color:#ffffff;" ><? } ?><?=cut_str(strip_tags($list[$i][wr_8]),100," ")?><?php if($list[$i][link][1]){ ?></a><? } ?>~<?php if($list[$i][link][1]){ ?><a href="<?=$list[$i][link][1]?>" style="color:#ffffff;" ><? } ?><?=cut_str(strip_tags($list[$i][wr_9]),100," ")?><?php if($list[$i][link][1]){ ?></a><? } ?></div>
<!-- <?php echo preg_replace('/([0-9]{4})([0-9]{2})([0-9]{2})/', '\1년 \2월 \3일', $view['wr_1']); ?> ~ <?php echo preg_replace('/([0-9]{4})([0-9]{2})([0-9]{2})/', '\1년 \2월 \3일', $view['wr_2']); ?>
<!--내용표시-->
<div class="Content"><?php if($list[$i][link][1]){ ?><a href="<?=$list[$i][link][1]?>" style="color:#ffffff;" ><? } ?><?=cut_str(strip_tags($list[$i][wr_content]),350," ")?>..<?php if($list[$i][link][1]){ ?></a><? } ?> </div>

</div>
</div>
</li>
<? } ?>
<? if (count($list) == 0) { ?><li>게시물이 없습니다.</li><? } ?>
</ul>
</div>

댓글 전체

전체 10 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT