라디오 박스 활성화 문제 입니다. > 그누4 질문답변

그누4 질문답변

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

라디오 박스 활성화 문제 입니다. 정보

라디오 박스 활성화 문제 입니다.

본문

기본적으로 링크 업로드를 활성화 시키고 싶은데 왜 직접 업로드가 활성화 되는지 모르겠어요..
소스 암만봐도 똑같은데 왜 직접업로드가 활성화 되죠?


제가 사실 하고싶은건 그냥 링크 업로드만 시키고 싶은데요..
어찌 줄여야 할까요?


<div style="width:100%;border:1px dashed #999;padding:20px;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="80" style="padding-top:4px;">업로드방식</td>
<td width="">

<label style="cursor:pointer;"><input type="radio" name="wr_1" value="link" onclick="show_upload('link');" style="vertical-align:-2px;" <?php if($write['wr_1'] == 'link') echo 'checked="checked"'; ?>> 링크업로드</label> &nbsp;

<label style="cursor:pointer;"><input type="radio" name="wr_1" value="file" onclick="show_upload('file');" style="vertical-align:-2px;" <?php if($write['wr_1'] == 'file') echo 'checked="checked"'; ?>> 직접업로드</label> &nbsp;

<? if ($is_admin) { ?>
<label style="cursor:pointer;"><input type="radio" name="wr_1" value="ftp" onclick="show_upload('ftp');" style="vertical-align:-2px;" <?php if($write['wr_1'] == 'ftp') echo 'checked="checked"'; ?>> FTP업로드</label><? } ?>
</td>
</tr>
<tr><td height="5" colspan="2"></td></tr>
<tr>
<td style="padding-top:4px;">동영상크기</td>
<td>
<input type="text" name="wr_2" value="<?php echo $write['wr_2']; ?>" size="10" itemname="동영상크기"  numeric="numeric"> &nbsp; X &nbsp;
<input type="text" name="wr_3" value="<?php echo $write['wr_3']; ?>" size="10" itemname="동영상크기"  numeric="numeric">
</td>
</tr>
<tr><td height="5" colspan="2"></td></tr>
</table>

<div id="link" class="upload" style="display:none;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="80" style="padding-top:4px;">링크업로드</td>
<td width=""><input type="text" name="wr_link1" value="<?php echo $write['wr_link1']; ?>" style="width:100%;"></td>
</tr>
</table>
</div>

<div id="file" class="upload" style="display:none;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="80" style="padding-top:4px;">직접업로드</td>
<td width="">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td><input type="file" name="bf_file[]" style="width:100%;"></td></tr>
<?php if($UPLOAD['1']['bf_file']){ ?>
<tr><td height="3"></td></tr>
<tr><td><label style="cursor:pointer;"><input type="checkbox" name="bf_file_del[1]" value="1" style="vertical-align:-2px;"> <?php echo $UPLOAD['1']['bf_source']; ?> 파일을 삭제합니다</label></td></tr>
<?php } ?>
</table>
</td>
</tr>
</table>
</div>



<div id="ftp" class="upload" style="display:none;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="80" style="padding-top:4px;">FTP업로드</td>
<td width=""><input type="text" name="wr_link2" value="<?php echo $write['wr_link2']; ?>" style="width:100%;" readonly="readonly"></td>
</tr>
<tr><td height="5" colspan="2"></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr><td style="padding:10px; border:1px solid #EBEBEB; background:#FAFAFA;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="25">
<td style="padding-top:4px;">파일</td>
<td colspan="3"><input type="file" name="file" style="width:100%;"></td>
</tr>
<tr height="25">
<td style="padding-top:4px;">주소</td>
<td colspan="3">
<input type="text" name="host" size="50">
<select name="root">
<option value="">선택하세요</option>
<?php echo make_option(array('www', 'public_html')); ?>
</select>
</td>
</tr>
<tr height="25">
<td style="padding-top:4px;">경로</td>
<td colspan="3"><input type="text" name="path" size="50"></td>
</tr>
<tr height="25">
<td width="15%" style="padding-top:4px;">아이디</td>
<td width="35%"><input type="text" name="user"></td>
<td width="15%" style="padding-top:4px;">비밀번호</td>
<td width="35%"><input type="text" name="pass"></td>
</tr>
</table>
</td></tr>
</table>
</div>

    </td>
  </tr>
  </table>
</div>

댓글 전체

전체 66,558 |RSS
그누4 질문답변 내용 검색

회원로그인

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