본문 내용 없이 글 등록 하는 방법..값이 없다고 나오는데
본문
스킨을 사용하는데
성격상 내용이 들어가지 않습니다.
등록할때 마다 wr 없다고 나오는데 내용없이 등록하는 방법을 알고 싶습니다.
답변 2
글쓰기 아랫 부분 보시면 submit 했을 때 검증하는 스크립트가 있는데
그 부분에서 내용과 관련된 부분을 삭제후 재시도해 보세요.
다 지우고 해봐도 안되요..
본문입력 부분만 제거하면 wrid값이 없다 하고 주석 해제하면 글입력 없이는 등록되는데 입력 창이 나타나고
[code]
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$board_skin_path/config.php");
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
// echo cheditor1('wr_content', '100%', '100');
echo cheditor1('seven15', '100%', '100');
echo cheditor1('seven16', '100%', '100');
}
function get_bo_4_option($bo_table)
{
global $g4;
$sql = " select bo_4 from $g4[board_table] where bo_table = '$bo_table' ";
$row = sql_fetch($sql);
$arr = explode("|", $row[bo_4]); // 구분자가 , 로 되어 있음
$str = "";
for ($i=0; $i<count($arr); $i++)
if (trim($arr[$i]))
$str .= "<option value='$arr[$i]'>$arr[$i]</option>\n";
return $str;
}
$is_category = false; //write.php
if ($board[bo_use_category]) {
$wr_4 = $write[wr_4];
$wr_4_option = get_bo_4_option($bo_table);
$is_category = true;
}
// 2단카테고리
?>
<script type="text/javascript">
if (document.getElementById){
document.write('<style type="text/css">\n')
document.write('.content_box{display:none;}\n')
document.write('</style>\n')
}
function contractall(){
if (document.getElementById){
var inc=0
while (document.getElementById("message_box_"+inc)){
document.getElementById("message_box_"+inc).style.display="none"
inc++
}
}
}
function expandone(){
if (document.getElementById){
var selectedItem=document.fwrite.wr_link1.selectedIndex
contractall()
document.getElementById("message_box_"+selectedItem).style.display="block"
}
}
if (window.addEventListener)
window.addEventListener("load", expandone, false)
else if (window.attachEvent)
window.attachEvent("onload", expandone)
//숫자에 3 자리마다 콤마
function PointComma(formnum) {
num1 = formnum.length;
FirstNum = formnum.substr(0,1);
FirstNum2 = formnum.substr(1,num1);
if(FirstNum == "0"){
alert("입력숫자는 0 으로 시작할 수 없습니다.");
return FirstNum2;
formnum = FirstNum2;
}
re = /^\$|,/g;
formnum = formnum.replace(re, "");
document.fwrite.won.value=formnum;
document.fwrite.cc.value=formnum;
document.fwrite.km.value=formnum;
var fieldnum = '' + formnum;
if (isNaN(fieldnum)) {
alert("숫자만 입력하실 수 있습니다.");
document.fwrite[0].wr_1.value == "";
document.fwrite[0].wr_1.focus();
return "";
}
else {
var comma = new RegExp('([0-9])([0-9][0-9][0-9][,.])');
var Po = fieldnum.split('.');
Po[0] += '.';
do {
Po[0] = Po[0].replace(comma, '$1,$2');
} while (comma.test(Po[0]));
if (Po.length > 1) {
return Po.join('');
}
else {
return Po[0].split('.')[0];
}
}
}
</script>
<div style="height:0px; line-height:1px; font-size:1px;"> </div>
<style type="text/css">
.listL { width:8px; height:42px; background:url(<?=$board_skin_path?>/img/board_listL.gif) repeat-x; }
.listC { width:100%; height:42px; text-align:center; font-weight:bold; font-size:12px; background:url(<?=$board_skin_path?>/img/board_listC.gif) repeat-x; }
.listR { width:8px; height:42px; background:url(<?=$board_skin_path?>/img/board_listR.gif) repeat-x; }
.write_head { width:120px; height:30px; text-align:center; font-size:11px; font-family:돋움; font-weight:bold; color:#666; letter-spacing:-1px;background:#F5F5F5; }
.field { border:1px solid #ccc; }
</style>
<script language="javascript">
// 글자수 제한
var char_min = parseInt(<?=$write_min?>); // 최소
var char_max = parseInt(<?=$write_max?>); // 최대
</script>
<form name="fwrite" method="post" onsubmit="return fwrite_submit(this);" enctype="multipart/form-data" style="margin:0px;">
<input type=hidden name=null>
<input type=hidden name=w value="<?=$w?>">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<input type=hidden name=wr_id value="<?=$wr_id?>">
<input type=hidden name=sca value="<?=$sca?>">
<input type=hidden name=sfl value="<?=$sfl?>">
<input type=hidden name=stx value="<?=$stx?>">
<input type=hidden name=spt value="<?=$spt?>">
<input type=hidden name=sst value="<?=$sst?>">
<input type=hidden name=sod value="<?=$sod?>">
<input type=hidden name=page value="<?=$page?>">
<table width="<?=$width?>" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td WIDTH="8"><img src="<?=$board_skin_path?>/img/board_listL.gif"></td>
<td class="listC"><?=$title_msg?></td>
<td WIDTH="8"><img src="<?=$board_skin_path?>/img/board_listR.gif"></td>
</tr>
<tr><td colspan="3">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td>
<? if ($is_name) { ?>
<tr>
<td class=write_head>이 름</td>
<td><input class='ed' maxlength=20 size=15 name=wr_name itemname="이름" required value="<?=$name?>"></td></tr>
<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>
<? if ($is_password) { ?>
<tr>
<td class=write_head>패스워드</td>
<td><input class='ed' type=password maxlength=20 size=15 name=wr_password itemname="패스워드" <?=$password_required?>></td></tr>
<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>
<? if ($is_email) { ?>
<tr>
<td class=write_head>이메일</td>
<td><input class='ed' maxlength=100 size=50 name=wr_email email itemname="이메일" value="<?=$email?>"></td></tr>
<tr><td colspan=2 height=1 bgcolor=#e7e7e7></td></tr>
<? } ?>
<?
$option = "";
$option_hidden = "";
if ($is_notice || $is_html || $is_secret || $is_mail) {
$option = "";
if ($is_notice) {
$option .= "<input type=checkbox name=notice value='1' $notice_checked>공지 ";
}
if ($is_html) {
if ($is_dhtml_editor) {
$option_hidden .= "<input type=hidden value='html1' name='html'>";
} else {
$option .= "<input onclick='html_auto_br(this);' type=checkbox value='$html_value' name='html' $html_checked><span class=w_title>html</span> ";
}
}
if ($is_secret) {
if ($is_admin || $is_secret==1) {
$option .= "<input type=checkbox value='secret' name='secret' $secret_checked><span class=w_title>비밀글</span> <span style='font-family:돋움; font-size:8pt; color:#C03505;letter-spacing:-1px;'>◀ 비밀글 작성시 체크해 주세요.</span>";
} else {
$option_hidden .= "<input type=hidden value='secret' name='secret'>";
}
}
if ($is_mail) {
$option .= "<input type=checkbox value='mail' name='mail' $recv_email_checked>답변메일받기 ";
}
}
echo $option_hidden;
if ($option) {
?>
<!-- 기본정보 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td><img src="<?=$board_skin_path?>/img/subject_1.gif" border="0"></td></tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td>
<table style="border:1px #eee solid;" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td>
<table width="100%" >
<tr>
<td class=write_head>옵션</td>
<td><?=$option?></td>
</tr><? } ?>
<!--
<tr>
<td class=write_head>지역</td>
<td>
<select class="ed" name="wr_4" required="required" itemname='지역' value="<?=$write[wr_4]?>">
<?
if ($wr_4){
echo "<option selected value='$wr_4'>$wr_4</option>";
} else {
echo "<option selected value=''>선택하세요</option>";
}
echo "$wr_4_option";
echo "</select>";
?>
</td>
</tr>
-->
<? if ($is_category) { ?>
<tr>
<td class=write_head>구분</td>
<td>
<select name=ca_name required itemname="지역"><option value="">선택하세요<?=$category_option?></select>
</td>
</tr>
<?}?>
<tr>
<td class=write_head>간단설명</td>
<td><input class='ed' name=wr_8 value="<?=$write[wr_8]?>" style=width:90% itemname="간단설명" required> ※40자 내외</td>
</tr>
<tr>
<td class=write_head>상호명</td>
<td><input class="ed" name="wr_subject" value="<?=$subject?>" style=width:30% itemname="건물명" required></td>
</tr>
<tr>
<td class=write_head>주소지</td>
<td><input class="ed" type=text name='nine03' value='<?=$nine03?>' style=width:90% itemname='주소' required><br>※ 지도표기를 위해 보다 <b>번지 입력은 필수</b>입니다.(예. 서울 강남구 신사동 123-5 ~~~)
</td>
</tr>
<tr>
<td class=write_head>연락처 1</td>
<td><input name='nine08' class="ed" value='<?=$nine08?>' type='text' size='4' maxlength='4' required itemname='연락처'> - <input name='nine09' class="ed" value='<?=$nine09?>' type='text' size='4' maxlength='4' required itemname='전화 두번째자리'> - <input name='nine10' class="ed" value='<?=$nine10?>' type='text' size='4' maxlength='4' required itemname='전화 세번째자리'></td>
</tr>
<!---->
<tr>
<td class=write_head>연락처 2</td>
<td><input name='nine05' class="ed" value='<?=$nine05?>' type='text' size='4' maxlength='4' itemname='연락처2'> - <input name='nine06' class="ed" value='<?=$nine06?>' type='text' size='4' maxlength='4' itemname='번호 두번째자리'> - <input name='nine07' class="ed" value='<?=$nine07?>' type='text' size='4' maxlength='4' itemname='번호 세번째자리'></td>
</tr>
</tr>
</table></td>
</tr>
</table>
<!-- 상세정보 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="5"></td></tr>
<tr><td><img src="<?=$board_skin_path?>/img/subject_2.gif" border="0"></td></tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td>
<table style="border:1px #eee solid;" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td>
<table width="100%" >
<tr>
<td class=write_head>업종</td>
<td><input class="ed" name="seven01" value="<?=$seven01?>" style=width:50% itemname="업종" required> 예)골프장,음식점</td>
<td class=write_head>관리비</td>
<td>
<INPUT class="ed" name="seven08" value="<?=$seven08?>" style=width:50% itemname="관리비" required>
</td>
</tr>
<tr>
<td class=write_head>영업시간</td>
<td>
오전<select name='seven05' itemname='보증금' class='ed' required>
<option value=''>선택하세요</option>
<option value='1' <? if($seven05 == 1) echo " selected "; ?>>1</option>
<option value='2' <? if($seven05 == 2) echo " selected "; ?>>2</option>
<option value='3' <? if($seven05 == 3) echo " selected "; ?>>3</option>
<option value='4' <? if($seven05 == 4) echo " selected "; ?>>4</option>
<option value='5' <? if($seven05 == 5) echo " selected "; ?>>5</option>
<option value='6' <? if($seven05 == 6) echo " selected "; ?>>6</option>
<option value='7' <? if($seven05 == 7) echo " selected "; ?>>7</option>
<option value='8' <? if($seven05 == 8) echo " selected "; ?>>8</option>
<option value='9' <? if($seven05 == 9) echo " selected "; ?>>9</option>
<option value='10' <? if($seven05 == 10) echo " selected "; ?>>10</option>
<option value='11' <? if($seven05 == 11) echo " selected "; ?>>11</option>
<option value='12' <? if($seven05 == 12) echo " selected "; ?>>12</option>
</select>
시 ~
오후<select name='seven03' itemname='지역' class='ed' required>
<option value=''>선택하세요</option>
<option value='1' <? if($seven05 == 1) echo " selected "; ?>>1</option>
<option value='2' <? if($seven05 == 2) echo " selected "; ?>>2</option>
<option value='3' <? if($seven05 == 3) echo " selected "; ?>>3</option>
<option value='4' <? if($seven05 == 4) echo " selected "; ?>>4</option>
<option value='5' <? if($seven05 == 5) echo " selected "; ?>>5</option>
<option value='6' <? if($seven05 == 6) echo " selected "; ?>>6</option>
<option value='7' <? if($seven05 == 7) echo " selected "; ?>>7</option>
<option value='8' <? if($seven05 == 8) echo " selected "; ?>>8</option>
<option value='9' <? if($seven05 == 9) echo " selected "; ?>>9</option>
<option value='10' <? if($seven05 == 10) echo " selected "; ?>>10</option>
<option value='11' <? if($seven05 == 11) echo " selected "; ?>>11</option>
<option value='12' <? if($seven05 == 12) echo " selected "; ?>>12</option>
</select>
</td>
<td class=write_head>쿠폰</td>
<td>
<select class='ed' name='wr_link1' itemname='쿠폰' required onChange="expandone()">
<option value='없음' <? if($write[wr_link1] == 없음) echo " selected "; ?>>없음</option>
<option value='사용' <? if($write[wr_link1] == 사용) echo " selected "; ?>>사용</option>
</select>
</td>
</tr>
<tr>
<td class=write_head>원/투/쓰리</td>
<td>
<select name='seven04' itemname='원/투/쓰리' class='ed' required>
<option value=''>선택하세요</option>
<option value='원룸' <? if($seven04 == 원룸) echo " selected "; ?>>원룸</option>
<option value='투룸' <? if($seven04 == 투룸) echo " selected "; ?>>투룸</option>
<option value='쓰리룸' <? if($seven04 == 쓰리룸) echo " selected "; ?>>쓰리룸</option>
</select>
</td>
<td class=write_head>예약방법</td>
<td>
<select name='seven06' itemname='예약방법' class='ed'>
<option value=''>선택하세요</option>
<option value='전화예약' <? if($seven06 == 전화예약) echo " selected "; ?>>전화예약</option>
<option value='직접방문' <? if($seven06 == 직접방문) echo " selected "; ?>>직접방문</option>
<option value='예약안돼요' <? if($seven06 == 예약안돼요) echo " selected "; ?>>예약안돼요</option>
</select>
</td>
</tr>
<!--
<tr>
<td class=write_head>예약방법</td>
<td>
<option value=''>선택하세요</option>
<option value='월세' <? if($seven02 == '월세') echo " selected "; ?>>월세</option>
<option value='전세' <? if($seven02 == '전세') echo " selected "; ?>>전세</option>
</select>
</td>
<td class=write_head>쿠폰</td>
<td>
<select class='ed' name='wr_link1' itemname='쿠폰' required onChange="expandone()">
<option value='없음' <? if($write[wr_link1] == 없음) echo " selected "; ?>>없음</option>
<option value='사용' <? if($write[wr_link1] == 사용) echo " selected "; ?>>사용</option>
</select>
</td>
</tr>
-->
</table></td>
</tr>
</table></td>
</tr>
</table>
<div id="message_box_0" class="content_box"></div>
<div id="message_box_1" class="content_box">
<!-- 쿠폰정보 -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="5"></td></tr>
<tr><td><img src="<?=$board_skin_path?>/img/subject_8.gif" border="0"></td></tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td><table style="border:1px #eee solid;" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td>
<table width="100%" >
<tr>
<td class=write_head>쿠폰제목</td>
<td>
<INPUT class="ed" name="seven17" value="<?=$seven17?>" style=width:70% itemname="쿠폰제목"> 예) OOO 20%할인
</td>
</tr>
<tr>
<td class=write_head>이용조건</td>
<td>
<select name='seven09' itemname="이용조건" class='ed'>
<option value=''>선택하세요</option>
<option value='1인 1매' <? if($seven09 == '1인 1매') echo " selected "; ?>>1인 1매</option>
<option value='2인 1매' <? if($seven09 == '2인 1매') echo " selected "; ?>>2인 1매</option>
<option value='3인 1매' <? if($seven09 == '3인 1매') echo " selected "; ?>>3인 1매</option>
<option value='4인 1매' <? if($seven09 == '4인 1매') echo " selected "; ?>>4인 1매</option>
</select>
</td>
</tr>
<tr>
<td class=write_head>제시방법</td>
<td>
<select name='seven10' itemname="제시방법" class='ed'>
<option value=''>선택하세요</option>
<option value='주문시' <? if($seven10 == 주문시) echo " selected "; ?>>주문시</option>
<option value='예약시' <? if($seven10 == 예약시) echo " selected "; ?>>예약시</option>
</select>
</td>
</tr>
<tr>
<td class=write_head>쿠폰종류</td>
<td>
<select name='seven11' itemname='쿠폰종류' class='ed'>
<option value=''>선택하세요</option>
<option value='인쇄(프린트용)' <? if($seven11 == '인쇄(프린트용)') echo " selected "; ?>>인쇄(프린트용)</option>
<option value='업소배포용' <? if($seven11 == '업소배포용') echo " selected "; ?>>업소배포용</option>
</select>
</td>
</tr>
<tr>
<td class=write_head>유효기간</td>
<td>
<input id="date" name='seven12' maxlength="20" class="ed" style="width:80;" value="<?=$seven12?>" maxlength='20' itemname="달력1" / >
<button style="font-family:굴림;height:19px; font-size:9pt; color:white; background-color:rgb(51,51,51); border-width:1px; border-color:rgb(102,102,102); border-style:solid;" onclick="win_calendar('date', document.getElementById('date').value, '-')"> 선택 </button> 부터
<input id="date2" name='seven13' maxlength="20" class=ed style="width:80;" value="<?=$seven13?>" maxlength='20' itemname="달력2" >
<button style="font-family:굴림;height:19px; font-size:9pt; color:white; background-color:rgb(51,51,51); border-width:1px; border-color:rgb(102,102,102); border-style:solid;" onclick="win_calendar('date2', document.getElementById('date').value, '-')"> 선택 </button> 까지<br>
이용기간없이 연중무휴일때는 아래 [연중무휴]를 선택해주세요.<br> <input type=radio name="seven14" value="연중무휴" <? if($seven14 == "연중무휴") echo "checked"; ?> > 연중무휴
</td>
</tr>
<tr>
<td class=write_head>쿠폰업로드</td>
<td><input class='ed' type='file' name='bf_file[10]' style="width:60%;">
<? if ($file[10][source]) { ?>
<br>
<img src="../data/file/<?=$bo_table?>/<?=$file[10][file]?>" width="100" height="50" border="0">
<input type='checkbox' name='bf_file_del[10]' value='1'>
<a href='<?=$file[10][href]?>'><?=$file[10][source]?></a> 삭제<? } ?>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table></div>
<!--- 업소소개
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="5"></td></tr>
<tr><td><img src="<?=$board_skin_path?>/img/subject_3.gif" border="0"></td></tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td><table style="border:1px #eee solid;" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td><table width="100%" >
<tr>
<td><? if ($is_dhtml_editor) { ?>
<?=cheditor2('wr_content', $content);?>
<? } else { ?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('wr_content', 5);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('wr_content', 5);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('wr_content', 5);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=50% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id="wr_content" name="wr_content" class=tx style='width:100%; word-break:break-all;' rows=5 itemname="내용"
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?>><?=$content?></textarea>
<? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('wr_content', 'char_count'); </script><?}?>
<? } ?>
</td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
--->
<!-- 메뉴 및 상품 소개
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="5"></td></tr>
<tr><td><img src="<?=$board_skin_path?>/img/subject_4.gif" border="0"></td></tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td><table style="border:1px #eee solid;" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td><table width="100%" >
<tr>
<td><? if ($is_dhtml_editor) { ?>
<?=cheditor2('seven15', $seven15);?>
<? } else { ?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('seven15', 5);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('seven15', 5);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('seven15', 5);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=50% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id="seven15" name="seven15" class=tx style='width:100%; word-break:break-all;' rows=5 itemname="메뉴"
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('seven15', 'char_count');"<?}?>><?=$seven15?></textarea>
<? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('seven15', 'char_count'); </script><?}?>
<? } ?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
-->
<!-- 찾아소시는 길/네이버 지도
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="5"></td></tr>
<tr><td><img src="<?=$board_skin_path?>/img/subject_5.gif" border="0"></td></tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td><table style="border:1px #eee solid;" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td><table width="100%" >
<tr>
<td><? if ($is_dhtml_editor) { ?>
<?=cheditor2('seven16', $seven16);?>
<? } else { ?>
<table width=100% cellpadding=0 cellspacing=0>
<tr>
<td width=50% align=left valign=bottom>
<span style="cursor: pointer;" onclick="textarea_decrease('seven16', 5);"><img src="<?=$board_skin_path?>/img/up.gif"></span>
<span style="cursor: pointer;" onclick="textarea_original('seven16', 5);"><img src="<?=$board_skin_path?>/img/start.gif"></span>
<span style="cursor: pointer;" onclick="textarea_increase('seven16', 5);"><img src="<?=$board_skin_path?>/img/down.gif"></span></td>
<td width=50% align=right><? if ($write_min || $write_max) { ?><span id=char_count></span>글자<?}?></td>
</tr>
</table>
<textarea id="seven16" name="seven16" class=tx style='width:100%; word-break:break-all;' rows=5 itemname="찾아오시는길"
<? if ($write_min || $write_max) { ?>onkeyup="check_byte('seven16', 'char_count');"<?}?>><?=$seven16?></textarea>
<? if ($write_min || $write_max) { ?><script language="javascript"> check_byte('seven16', 'char_count'); </script><?}?>
<? } ?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
</table>
-->
<!--- 사진 --->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td height="5"></td></tr>
<tr><td><img src="<?=$board_skin_path?>/img/subject_6.gif" border="0">
</td></tr>
</table>
<table width="100%" cellspacing="0">
<tr>
<td><table style="border:1px #eee solid;" cellspacing="0" cellpadding="8" width="100%">
<tr>
<td><table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" cellspacing="2" cellpadding="0">
<tr>
<td class=write_head>사진_01</td>
<td><input class='ed' type='file' name='bf_file[0]' style="width:100%;">
<? if ($file[0][source]) { ?>
<br>
<img src="../data/file/<?=$bo_table?>/<?=$file[0][file]?>" width="60" border="0">
<input type='checkbox' name='bf_file_del[0]' value='1'>
<a href='<?=$file[0][href]?>'>
<?=$file[0][source]?>
</a> 삭제
<? } ?></td>
</tr>
<tr>
<td class=write_head>사진_02</td>
<td><input class='ed' type='file' name='bf_file[1]' style="width:100%;">
<? if ($file[1][source]) { ?>
<br>
<img src="../data/file/<?=$bo_table?>/<?=$file[1][file]?>" width="60" border="0">
<input type='checkbox' name='bf_file_del[1]' value='1'>
<a href='<?=$file[1][href]?>'>
<?=$file[1][source]?>
</a> 삭제
<? } ?></td>
</tr>
<tr>
<td class=write_head>사진_03</td>
<td><input class='ed' type='file' name='bf_file[2]' style="width:100%;">
<? if ($file[2][source]) { ?>
<br>
<img src="../data/file/<?=$bo_table?>/<?=$file[2][file]?>" width="60" border="0">
<input type='checkbox' name='bf_file_del[2]' value='1'>
<a href='<?=$file[2][href]?>'>
<?=$file[2][source]?>
</a> 삭제
<? } ?></td>
</tr>
<tr>
<td class=write_head>사진_04</td>
<td><input class='ed' type='file' name='bf_file[3]' style="width:100%;">
<? if ($file[3][source]) { ?>
<br>
<img src="../data/file/<?=$bo_table?>/<?=$file[3][file]?>" width="60" border="0">
<input type='checkbox' name='bf_file_del[3]' value='1'>
<a href='<?=$file[3][href]?>'>
<?=$file[3][source]?>
</a> 삭제
<? } ?></td>
</tr>
<tr>
<td class=write_head>사진_05</td>
<td><input class='ed' type='file' name='bf_file[4]' style="width:100%;">
<? if ($file[4][source]) { ?>
<br>
<img src="../data/file/<?=$bo_table?>/<?=$file[4][file]?>" width="60" border="0">
<input type='checkbox' name='bf_file_del[4]' value='1'>
<a href='<?=$file[4][href]?>'>
<?=$file[4][source]?>
</a> 삭제
<? } ?></td>
</tr>
<!--
<tr>
<td class=write_head>사진_06</td>
<td><input class='ed' type='file' name='bf_file[5]' style="width:100%;">
<? if ($file[5][source]) { ?>
<br>
<img src="../data/file/<?=$bo_table?>/<?=$file[5][file]?>" width="60" border="0">
<input type='checkbox' name='bf_file_del[5]' value='1'>
<a href='<?=$file[5][href]?>'>
<?=$file[5][source]?>
</a> 삭제