분류체크박스 질문좀여 > 그누4 질문답변

그누4 질문답변

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

분류체크박스 질문좀여 정보

분류체크박스 질문좀여

본문

하단소스는 라이트스킨.php파일소스중 일부일입니다..

체크박스형태로 옵션체크하고 뷰페이지에서 보면 체크부분이 보이지 안네요..

<?
$p_six = explode("|",$write[wr_6]);
$six01 = $p_six[0];
$six02 = $p_six[1];
$six03 = $p_six[2];
$six04 = $p_six[3];
$six05 = $p_six[4];
$six06 = $p_six[5];
$six07 = $p_six[6];
$six08 = $p_six[7];
$six09 = $p_six[8];
$six10 = $p_six[9];
$six11 = $p_six[10];
$six12 = $p_six[11];
$six13 = $p_six[12];
$six14 = $p_six[13];
$six15 = $p_six[14];
$six16 = $p_six[15];
$six17 = $p_six[16];
$six18 = $p_six[17];
$six19 = $p_six[18];
$six20 = $p_six[19];
$six21 = $p_six[20];
$six22 = $p_six[21];
$six23 = $p_six[22];
$six24 = $p_six[23];
$six25 = $p_six[24];
$six26 = $p_six[25];
$six27 = $p_six[26];
$six28 = $p_six[27];
$six29 = $p_six[28];
$six30 = $p_six[29];
?>












<table width="100%" >
                          <tr>
                            <td class="blue"><img src="<?=$board_skin_path?>/img/icon_7.gif" align="absmiddle"> <b>옵션사항</b></td>
                          </tr>
                        </table>
                          <table width="100%" cellpadding="0" cellspacing="3" bgcolor="f4f4f4" >
                            <tr>
                              <td bgcolor="ffffff"><table width="100%" cellpadding="0" cellspacing="1" bgcolor="cccccc" >
                                  <tr>
                                    <td height="1" bgcolor="61AAC4"></td>
                                  </tr>
                                  <tr>
                                    <td bgcolor="ffffff"><table width="100%" cellpadding="3" cellspacing="1" bgcolor="eeeeee" >
                                      <tr bgcolor="ffffff">
                                        <td width="25%" bgcolor="f4f4f4"><input type="checkbox" name="six01" value="에어컨" <? if ($six01 == '에어컨') echo "checked";?>>
      에어컨</td>
                                        <td width="25%"><input type="checkbox" name="six02" value="파워윈도우" <? if ($six02 == '파워윈도우') echo "checked";?>>
      파워윈도우</td>
                                        <td width="25%" bgcolor="f4f4f4"><input type="checkbox" name="six03" value="파워스티어링" <? if ($six03 == '파워스티어링') echo "checked";?>>
      파워스티어링</td>
                                        <td width="25%"><input type="checkbox" name="six04" value="알루미늄휠" <? if ($six04 == '알루미늄휠') echo "checked";?>>
      알루미늄휠</td>
                                      </tr>
                                      <tr bgcolor="ffffff">
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six05" value="운전석 에어백" <? if ($six05 == '운전석 에어백') echo "checked";?>>
      운전석 에어백</td>
                                        <td><input type="checkbox" name="six06" value="조수석 에어백" <? if ($six06 == '조수석 에어백') echo "checked";?>>
      조수석 에어백</td>
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six07" value="사이드 에어백" <? if ($six07 == '사이드 에어백') echo "checked";?>>
      사이드 에어백</td>
                                        <td><input type="checkbox" name="six08" value="ABS" <? if ($six08 == 'ABS') echo "checked";?>>
      ABS</td>
                                      </tr>
                                      <tr bgcolor="ffffff">
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six09" value="CD 플레이어" <? if ($six09 == 'CD 플레이어') echo "checked";?>>
      CD 플레이어</td>
                                        <td><input type="checkbox" name="six10" value="CD 체인저" <? if ($six10 == 'CD 체인저') echo "checked";?>>
      CD 체인저</td>
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six11" value="ECS" <? if ($six11 == 'ECS') echo "checked";?>>
      ECS</td>
                                        <td><input type="checkbox" name="six12" value="AV 시스템" <? if ($six12 == 'AV 시스템') echo "checked";?>>
      AV 시스템</td>
                                      </tr>
                                      <tr bgcolor="ffffff">
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six13" value="가죽시트" <? if ($six13 == '가죽시트') echo "checked";?>>
      가죽시트</td>
                                        <td><input type="checkbox" name="six14" value="선루프" <? if ($six14 == '선루프') echo "checked";?>>
      선루프</td>
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six15" value="TCS" <? if ($six15 == 'TCS') echo "checked";?>>
      TCS</td>
                                        <td><input type="checkbox" name="six16" value="네비게이션" <? if ($six16 == '네비게이션') echo "checked";?>>
      네비게이션</td>
                                      </tr>
                                      <tr bgcolor="ffffff">
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six17" value="광폭 타이어" <? if ($six17 == '광폭 타이어') echo "checked";?>>
      광폭 타이어</td>
                                        <td><input type="checkbox" name="six18" value="자동도어잠금" <? if ($six18 == '자동도어잠금') echo "checked";?>>
      자동도어잠금</td>
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six19" value="자동접이식 백미러" <? if ($six19 == '자동접이식 백미러') echo "checked";?>>
      자동접이식 백미러</td>
                                        <td><input type="checkbox" name="six20" value="VTR" <? if ($six20 == 'VTR') echo "checked";?>>
      VTR</td>
                                      </tr>
                                      <tr bgcolor="ffffff">
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six21" value="TV" <? if ($six21 == 'TV') echo "checked";?>>
      TV</td>
                                        <td><input type="checkbox" name="six22" value="전/후방 감지기" <? if ($six22 == '전/후방 감지기') echo "checked";?>>
      전/후방 감지기</td>
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six23" value="썬팅" <? if ($six23 == '썬팅') echo "checked";?>>
      썬팅</td>
                                        <td><input type="checkbox" name="six24" value="원격시동장치" <? if ($six24 == '원격시동장치') echo "checked";?>>
      원격시동장치</td>
                                      </tr>
                                      <tr bgcolor="ffffff">
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six25" value="도난방지 장치" <? if ($six25 == '도난방지 장치') echo "checked";?>>
      도난방지 장치</td>
                                        <td><input type="checkbox" name="six26" value="핸들 오디오 리모콘" <? if ($six26 == '핸들 오디오 리모콘') echo "checked";?>>
      핸들 오디오 리모콘</td>
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six27" value="뒷유리 열선" <? if ($six27 == '뒷유리 열선') echo "checked";?>>
      뒷유리 열선</td>
                                        <td><input type="checkbox" name="six28" value="컵홀더" <? if ($six28 == '컵홀더') echo "checked";?>>
      컵홀더</td>
                                      </tr>
                                      <tr bgcolor="ffffff">
                                        <td bgcolor="f4f4f4"><input type="checkbox" name="six29" value="전자동시트" <? if ($six29 == '전자동시트') echo "checked";?>>
      전자동시트</td>
                                        <td><input type="checkbox" name="six30" value="열선시트" <? if ($six30 == '열선시트') echo "checked";?>>
      열선시트</td>
                                        <td bgcolor="f4f4f4">&nbsp;</td>
                                        <td>&nbsp;</td>
                                      </tr>
                                    </table></td>
                                  </tr>
                              </table></td>
                            </tr>
                          </table>

댓글 전체

$write[wr_6] <= 이건 글쓸때나 지정하는 함수 입니다.
지금 올려 주신 소스가 글쓰기 소스인데 뷰페이지에서 안보인다는건 무슨말씀이신지 ..
뷰페이지에서는 당연히 $view[wr_6]로 지정 되어 있어야 하죠
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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