스킨 함수값 설정 어떻게 해야 하나요? > 그누4 질문답변

그누4 질문답변

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

스킨 함수값 설정 어떻게 해야 하나요? 정보

스킨 함수값 설정 어떻게 해야 하나요?

본문

 
최신글 스킨에서 출력되는 의뢰업체 / 등록일 / 진행률을 아래에 있는
게시판 스킨의 보증금 / 월세 / 권리금 이 출력되도록 변환이 가능한가요?
 
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
최신글 스킨
 
 
var slidegraph=new Array()
  <?
    for ($i=0; $i<count($list); $i++) {
      
        $how[$i] = $list[$i][wr_1];
       
            echo "slidegraph[".$i."]=\"";
        echo "<table border='0' width='200' cellpadding='0' cellspacing='0' height='40'><tr><td width='100%' height='2'></td></tr><tr>";
        echo "<tr><td width='100%'>∴ 의뢰 업체 : ".$list[$i][wr_2]."</td></tr><tr>";
        echo "<tr><td width='100%'>∴ 등  록  일 : ".$list[$i][datetime]."</td></tr><tr>";
  echo "<td width='100%' align='left'>∴ 진  행  률 : <font color='red'>".$list[$i][wr_1]."</font> <font color='blue'>%</font></td></tr><tr><td width='100%' height='5'></td></tr>";
     echo "<tr><td width='100%' align='left'><img src='$latest_skin_path/img/graph.gif' width='".$list[$i][wr_1]."%' height='5></td></tr><tr><td width='100%' height='5'></td></tr>";
        echo "<tr><td width='100%' align='left'><img src='$latest_skin_path/img/progress.gif' width='200'></td></tr></table>";
        echo "\";\n";
    }
    ?>    

        
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
 
출력을 원하는 게시판 list.skin.php 파일
 
 <td width="50" align="center" class="b_bg"><span class='b_tit'>보증금</span></td>
 <td width="50" align="center" class="b_bg"><span class='b_tit'>월세</span></td>
 <td width="50" align="center" class="b_bg"><span class='b_tit'>권리금</span></td>
 
 <!--------------- 여유필드(보증금/월세/권리금) 추가 2 ---//-->
  <td align="center"><span class='b2'><?=$ext7_00?></span></td>
 <td align="center"><span class='b2'><?=$ext7_01?></span></td>
 <td align="center"><span class='b2'><?=$ext6_02?></span></td>
 <td align="center"><span class='b2'><?=$ext8_00?></span></td>
 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
참고로 view.skin.php 파일
 
<!-- [참고] 옵션필드 --//-->
 
$ex7_filed = explode("|",$write[wr_7]);
$ext7_00  = $ex7_filed[0];
$ext7_01  = $ex7_filed[1];
$ext7_02  = $ex7_filed[2];
 
 
 <tr height="24">
    <td class='b_tit2 b_bg2'> + 보증금</td>
    <td bgcolor='#FFFFFF'' style='padding-left:5px; padding-right:5px;'>
 <span class='v3'><?=$ext7_00?></span> 만원</td>
     <td class='b_tit2 b_bg2'> + 월임대료</td>
    <td bgcolor='#FFFFFF'' style='padding-left:5px; padding-right:5px;'>
 <span class='v3'><?=$ext7_01?></span> 만원</td>
  </tr>
   <tr height="24">
    <td class='b_tit2 b_bg2'> + 권리금</td>
    <td bgcolor='#FFFFFF'' style='padding-left:5px; padding-right:5px;'>
 <span class='v3'><?=$ext6_02?></span> 만원</td>

댓글 전체

var slidegraph=new Array()
  <?
    for ($i=0; $i<count($list); $i++) {
$ex7_filed = explode("|",$list[$i][wr_7]);
$ext7_00  = $ex7_filed[0];
$ext7_01  = $ex7_filed[1];
$ext7_02  = $ex7_filed[2];

     
        //$how[$i] = $list[$i][wr_7];
       
            echo "slidegraph[".$i."]=\"";
        echo "<table border='0' width='200' cellpadding='0' cellspacing='0' height='40'><tr><td width='100%' height='2'></td></tr><tr>";
        echo "<tr><td width='100%'>∴ 의뢰&nbsp;업체 : ".$ext7_00."</td></tr><tr>";
        echo "<tr><td width='100%'>∴ 등&nbsp;&nbsp;록&nbsp;&nbsp;일 : ".$ext7_01."</td></tr><tr>";
  echo "<td width='100%' align='left'>∴ 진&nbsp;&nbsp;행&nbsp;&nbsp;률 : <font color='red'>".$ext7_02."</font>&nbsp;<font color='blue'>%</font></td></tr><tr><td width='100%' height='5'></td></tr>";
    echo "<tr><td width='100%' align='left'><img src='$latest_skin_path/img/graph.gif' width='".$list[$i][wr_1]."%' height='5></td></tr><tr><td width='100%' height='5'></td></tr>";
        echo "<tr><td width='100%' align='left'><img src='$latest_skin_path/img/progress.gif' width='200'></td></tr></table>";
        echo "\";\n";
    }
    ?>   

직접 해보지는 못했습니다. 일반 확장필드 뽑듯이 하시면 될듯....
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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