주소를 list.skin에서 불러오기 > 그누4 질문답변

그누4 질문답변

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

주소를 list.skin에서 불러오기 정보

주소를 list.skin에서 불러오기

본문

view.skin.php에서 상단과 출력  부분에 아래와 같이하면 주소가 출력이 잘 됩니다...
이것을 list.skin.php에서 보여질려면 어떻케해야하나요
도와주세요

//view.skin.php상단부분
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 
$ex13_filed =  explode("|",$view[wr_5]); //주소부분
$add_no = $ex13_filed[0] ."-". $ex13_filed[1];
$add = $ex13_filed[2] ." ". $ex13_filed[3];
?>
//view.skin.php에서 출력부분 소스
<?
    if($ex13_filed[0]) echo "{$add_no}";
    if($ex13_filed[2]) echo "&nbsp;&nbsp;&nbsp; {$add}";
?>

댓글 전체

list.skin.php 에서도 비슷합니다.

중간 리스트 부분에 for 문아래쪽에 넣으시면 됩니다.

 for ($i=0; $i<count($list); $i++) {

$ex13_filed =  explode("|",$list[$i][wr_5]); 
$ext13_00  =  $ex13_filed[0];
$ext13_01  =  $ex13_filed[1];
$ext13_02  =  $ex13_filed[2];
$ext13_03  =  $ex13_filed[3];


넣어주시구요


출력은
<?=$ext13_03 ?>

이런식입니다.
아 해결됫어요 감사합니다........
이미있느느것과 아래와 같이 합쳐서 해결도ㅒ어요 감사합니다....
    <?
    for ($i=0; $i<count($list); $i++) {
    $bg = $i%2 ? 0 : 1;
  $ex13_filed =  explode("|",$list[$i][wr_5]); 
    $ext13_00  =  $ex13_filed[0];
    $ext13_01  =  $ex13_filed[1];
    $ext13_02  =  $ex13_filed[2];
    $ext13_03  =  $ex13_filed[3];
    ?>
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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