최신글 질문드립니다

최신글 질문드립니다

QA

최신글 질문드립니다

본문

안녕하세요 질문좀드리겠습니다

최신글 부분인데 혹시 

 

게시판명이 test 라고할때 어디부분에 test를 넣어야 최신글이 출력되나요?

 


 
<table class="eye_con_3">
<tr>
	<td>
	<ul>
		<li>
		<span class="eye_con_3_title eye_title_bg3">홈페이지 포트폴리오</span>
		<p class="eye_title_line"></p>
		</li>
	</ul>
	<ul id="eye_port_view1">
	<?
	$bo_table= 'homepage';
	$board = sql_fetch(" select * from {$g5['board_table']} where bo_table = '$bo_table' ");
	$bo_table= 'homepage';
	$query_homepage = "select * from g5_write_".$board['bo_table']." where wr_is_comment='0' order by wr_id desc limit 8";
	$result_homepage = sql_query($query_homepage);
	while($row_homepage = sql_fetch_array($result_homepage)){
 
		$thumb = get_list_thumbnail($board['bo_table'], $row_homepage['wr_id'], $board['bo_mobile_gallery_width'], $board['bo_mobile_gallery_height']);
 
		if($thumb['src']) {
			$img_content = '<img src="'.$thumb['src'].'" alt="'.$thumb['alt'].'" width="'.$board['bo_mobile_gallery_width'].'" height="'.$board['bo_mobile_gallery_height'].'">';
		} else {
			$img_content = '<span style="width:'.$board['bo_mobile_gallery_width'].'px;height:'.$board['bo_mobile_gallery_height'].'px">no image</span>';
		}
		$row_homepage['href'] = G5_BBS_URL.'/board.php?bo_table='.$board['bo_table'].'&wr_id='.$row_homepage['wr_id'];
 
		//echo $img_content;
 
	?>
		<li class="hover_">
		<?php echo $img_content; ?>
		<div class='eye_scr_subject'>
			<span class="eye_scr_subject_title" style="display:none;"><?php echo $row_homepage['wr_subject']; ?></span>
			<a href="<?php echo $row_homepage['href'] ?>" class="eye_scr_subject_bt2" style="display:none;color:#fff;">자세히보기</i></a>
			<a href="http://<?php echo $row_homepage['wr_1'] ?>" target="_blank" class="eye_scr_subject_bt" style="display:none;color:#fff;">바로가기</i></a>
		</div>
		</li>
	<?}?>
	</ul>
	</td>
</tr>
<tr height="50">
	<td></td>
</tr>
</table>

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 129,672 | RSS
QA 내용 검색

회원로그인

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