첨부파일 10개용 게시판 :: http://www.daerew.com/bbs/zzzboard.php?id=5_download_skin1&no=37
스킨에서요!
회사(주소록)업무용 스킨과 다솜님의 회원정보록의 기능을 믹서해서 업하고있는데여
write.php 의 등록버튼이 링크는 살아있는데 클릭이안되요!
제로보드를 무진장 뜯어고쳐서 더고생이군여!
제로보드 기본 테이블이며 필드추가등등 수없어서....
<!-- 버튼부분 -->
<table border=0 cellspacing=0 cellpadding=3 width=<?=$width?>>
<tr align=center height=35>
--- 중략 ---
<td align=right><input type=image border=0 align=absmiddle src=<?=$dir?>/images/confirm.gif 【red】【b】onClick="copy()"【/b】【/red】 >--- 중략 ---</td>
</tr>
</table>
위의 【red】【b】onClick="copy()"【/b】【/red】는 어디에서 불러오는거죠?
list_all.php 에는 있긴있는데 등록에관한것은 알수가 없네여!
만약 글쓰기나 수정 등록 버튼이 안된다면 어디를 살펴보는게 좋을까요?
이상 두가지 문제좀 부탁드립니다.
물론 제로보드의 write_ok.php 대신 각 첨부파일등을 늘리고 온누리다솜님의 write_ok_dasomaddress.php 을 수정해서 ... 한번 write_ok.php 로 폼액션을 걸었다가 글이 써지긴 했었는데 write_ok_dasomaddress.php 를 다시수정해서 걸은후 지금은 안되네여^^
스킨파일의 write.php 파일이..
<?
$m_memo = explode("|",$data[memo]);
$profile = $m_memo[0];
$zip1 = $m_memo[1];
$zip2 = $m_memo[2];
$address = $m_memo[3];
?>
<script>
function multi_file(opt1,opt2) {
// 처음 페이지를 열때 파일 갯수 체크
var filenum = parseInt(document.getElementById('filenum').value);
// 이벤트 발생했을때 + 인지 - 인지 체크
if ((opt1=='plus') && (opt2=='file_')) { var nfilenum = filenum + 1; }
else if ((opt1=='minus') && (opt2=='file_')) { var nfilenum = filenum - 1; }
// +,- 버튼을 활성화 비활성화 시키는 부분입니다. 삭제해도 무방합니다.
// +,- 된 파일 수가 2이면 - 비활성화 10이면 + 비활성화 아니면 모두 활성화
if (opt2=='file_'){
if (nfilenum==1) { document.getElementById('fminus').disabled = true; }
else if (nfilenum==10) { document.getElementById('fplus').disabled = true; }
else { document.getElementById('fplus').disabled = false; document.getElementById('fminus').disabled = false; }
}
// +,- 된 파일 수가 10보다 작거나 같고 2보다 크거나 같을때 실행
if ((nfilenum <= 10) && (nfilenum >= 0)) {
// 이름이 file_로 시작되는 id를 찾아서 display 를 모두 감춘다
var n=1; while (obj = document.getElementById(opt2+n)){ obj.style.display = 'none'; n++; }
// 이름이 file_로 시작되는 id를 찾아서 +,- 된 수만큼 display 를 보여준다
for (i=1;i<=nfilenum;i++){ document.getElementById(opt2+i).style.display='block'; document.getElementById('filenum').value=nfilenum; }
}
}
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- function formresize(mode) { if (mode == 0) { document.write.memo.cols = 80; document.write.memo.rows = 20; }
if (mode == 1) { document.write.memo.cols += 5; }
if (mode == 2) { document.write.memo.rows += 3; }
}// -->
</SCRIPT>
<script language=JavaScript>
<!-- 집코드 스크립트 부분 입니다 -->
function OpenZipcode()
{
window.open("제로브드절대경로/skin/online/zipcode/zipcode.php?form=write2&zip1=zip1&zip2=zip2&address=address","zipwin","width=520,height=260,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");
}
</script>
<? if($mode=="reply") $title="답 / 글 / 쓰 / 기";
else if($mode=="modify") $title="글 / 수 / 정";
else $title="견 / 적 / 의 / 뢰";
?>
<!-- 폼태그 부분;; 수정하지 않는 것이 좋습니다 -->
<table border=0 cellspacing=0 cellpadding=0 class=background style='word-break:break-all' width=<?=$width?>>
<tr><td colspan=2 class=top><?=$title?></td></tr></table>
<table border=0 cellspacing=0 cellpadding=0 class=background style='word-break:break-all' width=<?=$width?>>
<form method=post name=write2 action=write_ok_dasomaddress.php onsubmit="return check_submit();" enctype=multipart/form-data>
<input type=hidden name=page value=<?=$page?>>
<input type=hidden name=id value=<?=$id?>>
<input type=hidden name=no value=<?=$no?>>
<input type=hidden name=select_arrange value=<?=$select_arrange?>>
<input type=hidden name=desc value=<?=$desc?>>
<input type=hidden name=page_num value=<?=$page_num?>>
<input type=hidden name=keyword value="<?=$keyword?>">
<input type=hidden name=category value="<?=$category?>">
<input type=hidden name=sn value="<?=$sn?>">
<input type=hidden name=ss value="<?=$ss?>">
<input type=hidden name=sc value="<?=$sc?>">
<input type=hidden name=mode value="<?=$mode?>">
<tr><td height=25 colspan=2 style='padding-left:10' class=daerew><?=$category_kind?> ▩ 기능설정 : <?=$hide_notice_start?><input type=checkbox name=notice <?=$notice?> value=1>공지<?=$hide_notice_end?><?=$hide_html_start?><input type=checkbox name=use_html <?=$use_html?> value=1>태그사용<?=$hide_html_end?><input type=checkbox name=reply_mail <?=$reply_mail?> value=1 checked>답변글메일로받기<?=$hide_secret_start?> <input type=checkbox name=is_secret <?=$secret?> value=1 checked>비밀글<?=$hide_secret_end?></td></tr>
<col width=95 align=right></col><col width=></col>
<?=$hide_start?>
<tr>
<td class=daerew>신 청 인 * </td>
<td width="87%" class=daerew style='padding-bottom:3'>
<input type=text name=name value="<?=$name?>" <?=size(15)?> maxlength=10 class=input style=width:30%>
비밀번호*
<input type=password name=password <?=size(12)?> maxlength=10 class=input style=width:20%> 비회원 비밀번호 기억요망! </td>
</tr>
<tr><td class=daerew>전자우편* </td>
<td class=daerew style='padding-bottom:3'><input type=text name=email value="<?=$email?>" <?=size(55)?> maxlength=200 class=input style=width:30%>
홈페이지
<input type=text name=homepage value="<?=$homepage?>" <?=size(55)?> maxlength=200 class=input style=width:55%>
</td>
</tr>
<?=$hide_end?>
<tr>
<td class=daerew>글 제 목 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=text name=subject value="<?=$subject?>" <?=size(67)?> maxlength=200 class=input style=width:100%></td>
</tr>
<?=$hide_sitelink1_start?>
<tr><td class=daerew valign=top style='padding-top:3'>참조사이트 #1 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=text name=sitelink1 value="<?=$sitelink1?>" <?=size(73)?> maxlength=200 class=input style=width:100%></td>
</tr>
<?=$hide_sitelink1_end?>
<?=$hide_sitelink2_start?>
<tr><td class=daerew valign=top style='padding-top:3'>참조사이트 #2 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=text name=sitelink2 value="<?=$sitelink2?>" <?=size(73)?> maxlength=200 class=input style=width:100%></td>
</tr>
<?=$hide_sitelink2_end?>
<tr><td colspan="2" class=daerew>
<? if($mode2=="cn_mode"){?>
<input type=hidden name=mode2 value="cn_mode">
<br>
<table style='word-break:break-all' width=<?=$width?> border="0" align="center" cellpadding="7" cellspacing="1" bgcolor="D9D9D9">
<tr bordercolor="#999999">
--- 중략 업무용 폼적용 ----
</tr>
<tr><td class=daerew_bold onclick="document.write.memo.rows=document.write.memo.rows+3" style=cursor:hand title='클릭하시면 내용 쓰는 공간이 늘어납니다'>내 용 <br><br>↓ </td>
<td width="87%" class=daerew style='padding-right:20;padding-bottom:3'>
<textarea name=profile <?=size2(72)?> rows=9 class=textarea style=width:100%><? $memo = str_replace( "<", "<", $memo ); $memo = str_replace( "<", ">", $memo ); echo $memo; ?><?=$profile?></textarea>
</td>
</tr>
<?=$hide_pds_start?>
<tr id='file_1'>
<td class=daerew valign=top style='padding-top:3'>파일 #1 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file1 <?=size(30)?> maxlength=255 class=input style=width:100%><?=$file_name1?></td>
</tr>
<tr id='file_2'>
<td class=daerew valign=top style='padding-top:3'>파일 #2 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file2 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name2?></td>
</tr>
<tr id='file_3' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #3 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file3 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name3?></td>
</tr>
<tr id='file_4' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #4 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file4 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name4?></td>
</tr>
<tr id='file_5' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #5 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file5 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name5?></td>
</tr>
<tr id='file_6' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #6 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file6 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name6?></td>
</tr>
<tr id='file_7' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #7 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file7 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name7?></td>
</tr>
<tr id='file_8' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #8 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file8 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name8?></td>
</tr>
<tr id='file_9' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #9 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file9 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name9?></td>
</tr>
<tr id='file_10' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일#10 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file10 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name10?></td>
</tr>
<tr><td class=write_bottom> </td>
<td class=write_bottom align=right style='padding-right:20;padding-bottom:3'>
파일추가
<input type='text' id='filenum' value='2' style='font-family:verdana;font-size:8pt;border:solid 1;border-color:888888;width:50;'>
<input type='button' id='fplus' value='+' style='font-family:verdana;font-size:8pt;border:solid 1;border-color:888888;width:17;height:17;' onclick='multi_file("plus","file_")' onfocus=blur()>
<input type='button' id='fminus' value='-' style='font-family:verdana;font-size:8pt;border:solid 1;border-color:888888;width:17;height:17;' onclick='multi_file("minus","file_")' onfocus=blur()>
(업로드 제한 <?=$upload_limit?>)
</td>
</form>
</tr>
<?=$hide_pds_end?>
</table>
<script>
// 페이지를 처음 열었을때 파일수가 몇인가를
var filenum = parseInt(document.getElementById('filenum').value);
if (filenum==0) { document.getElementById('fminus').disabled = true; document.getElementById('eminus').disabled = true; }
else if (filenum==10) { document.getElementById('fplus').disabled = true; document.getElementById('eplus').disabled = true; }
else { document.getElementById('fminus').disabled = false; document.getElementById('eminus').disabled = false; document.getElementById('fplus').disabled = false; document.getElementById('eplus').disabled = false; }
</script>
<!-- 버튼부분 -->
<table border=0 cellspacing=0 cellpadding=3 width=<?=$width?>>
<tr align=center height=35>
<td align=left><?=$a_preview?>
/images/preview.gif border=0 onfocus=blur()> <?=$a_imagebox?>
/images/imagebox.gif border=0 onfocus=blur()></td>
<td align=right><input type=image border=0 align=absmiddle src=<?=$dir?>/images/confirm.gif onClick="copy()" onfocus=blur()>
/images/back.gif align=absmiddle border=0 onclick=history.go(-1) style=cursor:hand onfocus=blur()></td>
</tr>
</table>
로 변경되었거든여!
부디 도움좀 주세요!
스킨에서요!
회사(주소록)업무용 스킨과 다솜님의 회원정보록의 기능을 믹서해서 업하고있는데여
write.php 의 등록버튼이 링크는 살아있는데 클릭이안되요!
제로보드를 무진장 뜯어고쳐서 더고생이군여!
제로보드 기본 테이블이며 필드추가등등 수없어서....
<!-- 버튼부분 -->
<table border=0 cellspacing=0 cellpadding=3 width=<?=$width?>>
<tr align=center height=35>
--- 중략 ---
<td align=right><input type=image border=0 align=absmiddle src=<?=$dir?>/images/confirm.gif 【red】【b】onClick="copy()"【/b】【/red】 >--- 중략 ---</td>
</tr>
</table>
위의 【red】【b】onClick="copy()"【/b】【/red】는 어디에서 불러오는거죠?
list_all.php 에는 있긴있는데 등록에관한것은 알수가 없네여!
만약 글쓰기나 수정 등록 버튼이 안된다면 어디를 살펴보는게 좋을까요?
이상 두가지 문제좀 부탁드립니다.
물론 제로보드의 write_ok.php 대신 각 첨부파일등을 늘리고 온누리다솜님의 write_ok_dasomaddress.php 을 수정해서 ... 한번 write_ok.php 로 폼액션을 걸었다가 글이 써지긴 했었는데 write_ok_dasomaddress.php 를 다시수정해서 걸은후 지금은 안되네여^^
스킨파일의 write.php 파일이..
<?
$m_memo = explode("|",$data[memo]);
$profile = $m_memo[0];
$zip1 = $m_memo[1];
$zip2 = $m_memo[2];
$address = $m_memo[3];
?>
<script>
function multi_file(opt1,opt2) {
// 처음 페이지를 열때 파일 갯수 체크
var filenum = parseInt(document.getElementById('filenum').value);
// 이벤트 발생했을때 + 인지 - 인지 체크
if ((opt1=='plus') && (opt2=='file_')) { var nfilenum = filenum + 1; }
else if ((opt1=='minus') && (opt2=='file_')) { var nfilenum = filenum - 1; }
// +,- 버튼을 활성화 비활성화 시키는 부분입니다. 삭제해도 무방합니다.
// +,- 된 파일 수가 2이면 - 비활성화 10이면 + 비활성화 아니면 모두 활성화
if (opt2=='file_'){
if (nfilenum==1) { document.getElementById('fminus').disabled = true; }
else if (nfilenum==10) { document.getElementById('fplus').disabled = true; }
else { document.getElementById('fplus').disabled = false; document.getElementById('fminus').disabled = false; }
}
// +,- 된 파일 수가 10보다 작거나 같고 2보다 크거나 같을때 실행
if ((nfilenum <= 10) && (nfilenum >= 0)) {
// 이름이 file_로 시작되는 id를 찾아서 display 를 모두 감춘다
var n=1; while (obj = document.getElementById(opt2+n)){ obj.style.display = 'none'; n++; }
// 이름이 file_로 시작되는 id를 찾아서 +,- 된 수만큼 display 를 보여준다
for (i=1;i<=nfilenum;i++){ document.getElementById(opt2+i).style.display='block'; document.getElementById('filenum').value=nfilenum; }
}
}
</script>
<SCRIPT LANGUAGE="JavaScript">
<!-- function formresize(mode) { if (mode == 0) { document.write.memo.cols = 80; document.write.memo.rows = 20; }
if (mode == 1) { document.write.memo.cols += 5; }
if (mode == 2) { document.write.memo.rows += 3; }
}// -->
</SCRIPT>
<script language=JavaScript>
<!-- 집코드 스크립트 부분 입니다 -->
function OpenZipcode()
{
window.open("제로브드절대경로/skin/online/zipcode/zipcode.php?form=write2&zip1=zip1&zip2=zip2&address=address","zipwin","width=520,height=260,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");
}
</script>
<? if($mode=="reply") $title="답 / 글 / 쓰 / 기";
else if($mode=="modify") $title="글 / 수 / 정";
else $title="견 / 적 / 의 / 뢰";
?>
<!-- 폼태그 부분;; 수정하지 않는 것이 좋습니다 -->
<table border=0 cellspacing=0 cellpadding=0 class=background style='word-break:break-all' width=<?=$width?>>
<tr><td colspan=2 class=top><?=$title?></td></tr></table>
<table border=0 cellspacing=0 cellpadding=0 class=background style='word-break:break-all' width=<?=$width?>>
<form method=post name=write2 action=write_ok_dasomaddress.php onsubmit="return check_submit();" enctype=multipart/form-data>
<input type=hidden name=page value=<?=$page?>>
<input type=hidden name=id value=<?=$id?>>
<input type=hidden name=no value=<?=$no?>>
<input type=hidden name=select_arrange value=<?=$select_arrange?>>
<input type=hidden name=desc value=<?=$desc?>>
<input type=hidden name=page_num value=<?=$page_num?>>
<input type=hidden name=keyword value="<?=$keyword?>">
<input type=hidden name=category value="<?=$category?>">
<input type=hidden name=sn value="<?=$sn?>">
<input type=hidden name=ss value="<?=$ss?>">
<input type=hidden name=sc value="<?=$sc?>">
<input type=hidden name=mode value="<?=$mode?>">
<tr><td height=25 colspan=2 style='padding-left:10' class=daerew><?=$category_kind?> ▩ 기능설정 : <?=$hide_notice_start?><input type=checkbox name=notice <?=$notice?> value=1>공지<?=$hide_notice_end?><?=$hide_html_start?><input type=checkbox name=use_html <?=$use_html?> value=1>태그사용<?=$hide_html_end?><input type=checkbox name=reply_mail <?=$reply_mail?> value=1 checked>답변글메일로받기<?=$hide_secret_start?> <input type=checkbox name=is_secret <?=$secret?> value=1 checked>비밀글<?=$hide_secret_end?></td></tr>
<col width=95 align=right></col><col width=></col>
<?=$hide_start?>
<tr>
<td class=daerew>신 청 인 * </td>
<td width="87%" class=daerew style='padding-bottom:3'>
<input type=text name=name value="<?=$name?>" <?=size(15)?> maxlength=10 class=input style=width:30%>
비밀번호*
<input type=password name=password <?=size(12)?> maxlength=10 class=input style=width:20%> 비회원 비밀번호 기억요망! </td>
</tr>
<tr><td class=daerew>전자우편* </td>
<td class=daerew style='padding-bottom:3'><input type=text name=email value="<?=$email?>" <?=size(55)?> maxlength=200 class=input style=width:30%>
홈페이지
<input type=text name=homepage value="<?=$homepage?>" <?=size(55)?> maxlength=200 class=input style=width:55%>
</td>
</tr>
<?=$hide_end?>
<tr>
<td class=daerew>글 제 목 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=text name=subject value="<?=$subject?>" <?=size(67)?> maxlength=200 class=input style=width:100%></td>
</tr>
<?=$hide_sitelink1_start?>
<tr><td class=daerew valign=top style='padding-top:3'>참조사이트 #1 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=text name=sitelink1 value="<?=$sitelink1?>" <?=size(73)?> maxlength=200 class=input style=width:100%></td>
</tr>
<?=$hide_sitelink1_end?>
<?=$hide_sitelink2_start?>
<tr><td class=daerew valign=top style='padding-top:3'>참조사이트 #2 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=text name=sitelink2 value="<?=$sitelink2?>" <?=size(73)?> maxlength=200 class=input style=width:100%></td>
</tr>
<?=$hide_sitelink2_end?>
<tr><td colspan="2" class=daerew>
<? if($mode2=="cn_mode"){?>
<input type=hidden name=mode2 value="cn_mode">
<br>
<table style='word-break:break-all' width=<?=$width?> border="0" align="center" cellpadding="7" cellspacing="1" bgcolor="D9D9D9">
<tr bordercolor="#999999">
--- 중략 업무용 폼적용 ----
</tr>
<tr><td class=daerew_bold onclick="document.write.memo.rows=document.write.memo.rows+3" style=cursor:hand title='클릭하시면 내용 쓰는 공간이 늘어납니다'>내 용 <br><br>↓ </td>
<td width="87%" class=daerew style='padding-right:20;padding-bottom:3'>
<textarea name=profile <?=size2(72)?> rows=9 class=textarea style=width:100%><? $memo = str_replace( "<", "<", $memo ); $memo = str_replace( "<", ">", $memo ); echo $memo; ?><?=$profile?></textarea>
</td>
</tr>
<?=$hide_pds_start?>
<tr id='file_1'>
<td class=daerew valign=top style='padding-top:3'>파일 #1 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file1 <?=size(30)?> maxlength=255 class=input style=width:100%><?=$file_name1?></td>
</tr>
<tr id='file_2'>
<td class=daerew valign=top style='padding-top:3'>파일 #2 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file2 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name2?></td>
</tr>
<tr id='file_3' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #3 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file3 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name3?></td>
</tr>
<tr id='file_4' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #4 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file4 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name4?></td>
</tr>
<tr id='file_5' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #5 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file5 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name5?></td>
</tr>
<tr id='file_6' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #6 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file6 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name6?></td>
</tr>
<tr id='file_7' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #7 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file7 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name7?></td>
</tr>
<tr id='file_8' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #8 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file8 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name8?></td>
</tr>
<tr id='file_9' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일 #9 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file9 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name9?></td>
</tr>
<tr id='file_10' style='display:none;'>
<td class=daerew valign=top style='padding-top:3'>파일#10 </td>
<td class=daerew style='padding-right:20;padding-bottom:3'><input type=file name=file10 <?=size(58)?> maxlength=255 class=input style=width:100%><?=$file_name10?></td>
</tr>
<tr><td class=write_bottom> </td>
<td class=write_bottom align=right style='padding-right:20;padding-bottom:3'>
파일추가
<input type='text' id='filenum' value='2' style='font-family:verdana;font-size:8pt;border:solid 1;border-color:888888;width:50;'>
<input type='button' id='fplus' value='+' style='font-family:verdana;font-size:8pt;border:solid 1;border-color:888888;width:17;height:17;' onclick='multi_file("plus","file_")' onfocus=blur()>
<input type='button' id='fminus' value='-' style='font-family:verdana;font-size:8pt;border:solid 1;border-color:888888;width:17;height:17;' onclick='multi_file("minus","file_")' onfocus=blur()>
(업로드 제한 <?=$upload_limit?>)
</td>
</form>
</tr>
<?=$hide_pds_end?>
</table>
<script>
// 페이지를 처음 열었을때 파일수가 몇인가를
var filenum = parseInt(document.getElementById('filenum').value);
if (filenum==0) { document.getElementById('fminus').disabled = true; document.getElementById('eminus').disabled = true; }
else if (filenum==10) { document.getElementById('fplus').disabled = true; document.getElementById('eplus').disabled = true; }
else { document.getElementById('fminus').disabled = false; document.getElementById('eminus').disabled = false; document.getElementById('fplus').disabled = false; document.getElementById('eplus').disabled = false; }
</script>
<!-- 버튼부분 -->
<table border=0 cellspacing=0 cellpadding=3 width=<?=$width?>>
<tr align=center height=35>
<td align=left><?=$a_preview?>
<td align=right><input type=image border=0 align=absmiddle src=<?=$dir?>/images/confirm.gif onClick="copy()" onfocus=blur()>
</tr>
</table>
로 변경되었거든여!
부디 도움좀 주세요!
소스 끝부분에 배꼽표시가 있어서 그 부분만 보고 있는데....
a 태그 뒤에 닫기 태그가 없네요... </a> 를 추가해보세요.
0 onfocus=blur()></a> <?=$a_imagebox?> 이런식으로요..