이거 무슨 에러인가요??? 정보
이거 무슨 에러인가요???본문
잘 되다가 갑자기....
Parse error: syntax error, unexpected ';' in /home1/say2me/public_html/bbs/skin/board/gallery_shop/gbview.skin.php on line 70
댓글 전체
gbview.skin.php on line 70라인에 ;를 안쓰신거 같네요
<?=/*$width*/?>를 빼보세요
; 이거땜에 에러 나는데 70번째줄 살펴보세요
gbview.skin.php on line 70라인에 ....
70 <table width=95%<?=/*$width*/?> border=0 align=center cellpadding=2 cellspacing=0 class='tb00'>
71 <tr><td height=5></td></tr>
72 <tr>
73 <td>
70 <table width=95%<?=/*$width*/?> border=0 align=center cellpadding=2 cellspacing=0 class='tb00'>
71 <tr><td height=5></td></tr>
72 <tr>
73 <td>
여긴 에러 없는거 같은데 윗부분소스도 올려보세요
전문입니다....부탁좀드릴게요...
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!$skin_no) $skin_no = "01";
?>
<META http-equiv="imagetoolbar" content="no">
<link rel='stylesheet' href='<?=$board_skin?>/style<?=$skin_no?>.css' type='text/css'>
<? // 확장변수
$ex_filed = explode("|",$wr_5);
$ext_00 = $ex_filed[0];
$ext_01 = $ex_filed[1];
$ext_02 = $ex_filed[2];
$ext_03 = $ex_filed[3];
$ext_04 = $ex_filed[4];
$ext_05 = $ex_filed[5];
?>
<?
// HTML 이면
if ($write[wr_html])
$content = preg_replace("/(\<img)([^\>]*)(\>)/i", "\\1 name=target_resize_image[] onclick=image_window2(this) style='cursor:hand;' tmp_width=0 tmp_height=0 \\2 \\3", $content);
?>
<script language="JavaScript">
<!--
function image_window2(src)
{
var img = src.src;
var tmp_w = w = src.tmp_width;
var tmp_h = h = src.tmp_height;
winl = (screen.width-w)/2;
wint = (screen.height-h)/3;
if (w >= screen.width) {
winl = 0;
w = screen.width - 10;
h = (parseInt)(w * (h / w));
}
if (h >= screen.height) {
wint = 0;
h = screen.height - 80;
w = (parseInt)(h * (w / h));
}
var settings ='width='+w+',';
settings +='height='+h+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars=no,';
settings +='resizable=no,';
settings +='status=no';
win=window.open("","newWindow",settings);
win.document.open();
win.document.write ("<html><head><meta http-equiv='content-type' content='text/html; charset=euc-kr'>");
win.document.write ("<title>이미지 보기</title></head>");
win.document.write ("<body leftmargin=0 topmargin=0>");
win.document.write ("<img src='"+img+"' width='"+w+"' height='"+h+"'border=0 onclick='window.close();' style='cursor:hand'>");
win.document.write ("</body></html>");
win.document.close();
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
//-->
</script>
<!-- ########## {레이아웃 테이블 시작} ###########--//-->
<table width=95%<?=/*$width*/?> border=0 align=center cellpadding=2 cellspacing=0 class='tb00'>
<tr><td height=5></td></tr>
<tr>
<td>
<table width='100%' border=0 cellpadding=3 cellspacing=0 style='border:1px solid #cccccc'>
<tr height=30>
<td width=80%> <img src='<?=$board_skin?>/icon_direct2.gif'> <span class='ca'><? if ($is_category) echo "[$category_name] "; ?></span> <span class='bh'><?=$subject?></span></td>
<td width='' align=right> <span class='bl'>View: <?=$hit?> </td>
</tr>
</table>
</td></tr>
<tr><td align=center>
<!--################################ 옵션 필드추가 ##########################################-//-->
<table style="table-layout:fixed" width=100% border=0 cellpadding=3 cellspacing=0>
<col width='210'> <!-- 이미지 삽입 칼럼폭 --//-->
<col width='20'> <!-- 빈공간 --//-->
<col width=''> <!-- 내 용 삽입 칼럼폭 --//-->
<tr>
<td nowrap valign=middle>
<? //------------##### 첫번째 이미지 파일 새창열기
if($write[wr_file1]){
$row = $write;
$img1_width = 200; // 이미지 가로크기
$img1_height = 200; // 이미지 세로크기
$win1_width = 200; // 새창 가로크기
$win1_height = 200; // 새창 세로크기
//수정된 부분
$win1_size = @getimagesize("./data/file/$board[bo_table]/$row[wr_file1]");
$win1_source_width = $win1_size[0];
$win1_source_height = $win1_size[1];
$file1_view= "<img src='./data/file/$board[bo_table]/$row[wr_file1]' width='$img1_width' height='$img1_height' border=0>";
$index_view= "<a href=\"javascript:;\" onclick=\"image_window('./data/file/$board[bo_table]/$row[wr_file1]', $win1_source_width, $win1_source_height);\"><img src='$board_skin/btn_bigphoto.gif' border=0></a>";
}else if(!$write[wr_file1]) {
$file1_view = "<img src='$board_skin/noimage1.gif'>";
}
?>
<!-- //----- 이미지 불러오기 --//-->
<?
echo "<table border=0 cellpadding=2 align=center style='border=1px solid #cccccc'><tr>";
echo "<td align=center valign=middle width=$img1_width>". $file1_view ."<br>".$index_view."</td>"; // 첫번째 파일 불러오기
echo "</tr></table>";
?>
<!-- 이미지 삽입 끝 --//-->
</td>
<td></td>
<td width='50%' valign='top'>
<table width="100%" align="center" cellpadding=6 cellspacing=0 border=0 style='border:0px solid #B5B58E'>
<colgroup width='100' nowrap>
<colgroup width=''>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>상품명</b></font></td>
<td class='con_bg con_t'>:   <b><?=$subject?></b></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>제품분류</b></font></td>
<td class='con_bg con_t'>:   <?=$category_name?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>상품코드</b></font></td>
<td class='con_bg con_t'>:   <?=$ext_00?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>제조사</b></font></td>
<td class='con_bg con_t'>:   <?=$ext_01?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>적용차종</b></font></td>
<td class='con_bg con_t'>:   <?=$ext_02?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>제품가격</b></font></td>
<td class='con_bg con_t'>:   <font color=#FF6600><?=$ext_03?></font>원</td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>공임여부</b></font></td>
<td class='con_bg con_t'>:   <?=$ext_04?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td colspan=2 align=center>
<? echo "<a href=\"$list_href\"><img src='$board_skin/btn_list.jpg' border=0 alt='목록'></a>"; ?>
<a href='?doc=bbs/gnuboard.php&bo_table=tmaC01_bd02'><img src='<?=$board_skin?>/btn_ask.jpg' height=25 width=120></a></td>
</tr>
</table>
</td></tr>
</table>
<br>
<table width=100% cellspacing=0 cellpadding=4 style='border:1px solid #cccccc'>
<tr><td height=24 bgcolor=#F5F5F5> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>제품 상세 리뷰</b></font></td></tr>
</table>
<!--################################ 옵션 필드추가 끝 ##########################################-//-->
</td></tr>
<tr>
<td colspan=2>
<table width=100% cellpadding=2 class=tb03>
<?
// 링크 설정한 값만큼 출력
for ($i=1; $i<=$cfg[link_count]; $i++) {
if ($link[$i][link]) {
echo "<tr><td colspan=2 height=20 class=bl> + <b>WebSite</b> : <a href='{$link[$i][href]}' target='$default[de_link_target]'>{$link[$i][link]}</a>, Hit:{$link[$i][hit]}</td></tr>";
}
}
?>
<? /*
// 파일 업로드 설정한 값만큼 출력
for ($i=1; $i<=$cfg[file_count]; $i++) {
if ($file[$i][source]) {
echo "<tr><td colspan=2 height=20 class=bl> + <img src='$board_skin/icon_file.gif' align='absmiddle'> <a href='{$file[$i][href]}'>{$file[$i][source]} ({$file[$i][size]})</a>, Down:{$file[$i][download]}</td></tr>";
}
} */
?>
<tr>
<td style='word-break:break-all;' class='lh' valign=top>
<? // -- 두번째파일 부터 출력
for ($i=2; $i<=$cfg[file_count]; $i++) {
if ($file[$i][view]) { echo $file[$i][view]; }
}
?>
<img name=main_table width=<?=$width?> height=0 border=0>
<!-- 내용 출력 -->
<span class=bl><?=$content?></span>
<!-- 테러 태그 방지용 -->
</xml></xmp><a href=""></a><a href=''></a></td></tr>
<? if ($is_signature) { echo "<tr><td>$signature</td></tr>"; } // 서명 출력 ?>
</table>
</td>
<!-- ########## {레이아웃 테이블 끝} ###########--//-->
</td></tr>
<tr><td height=1 bgcolor=#cccccc></td></tr>
</table>
<table><tr><td></table><!--공백테이블--//-->
<? if ($is_comment) { ?>
<!-- 코멘트 내용 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<a name='c<?=$list[$i][wr_id]?>'></a>
<table width=<?=$width?> border=0 align=center cellpadding=2 cellspacing=0>
<tr bgcolor='#F7F7F7'>
<td height=25 class=cm01> + <?=$list[$i][name]?> (<?=$list[$i][ip]?>) <? if ($list[$i][is_del]) { echo "{$list[$i][del_href]}<img src='$board_skin/com_del.gif' border=0 align=absmiddle></a> "; } ?></td><td align=right class=cm01><?=$list[$i][datetime]?> </td>
</tr>
<tr>
<td valign=top colspan=2>
<table width=100% cellpadding=2 cellspacing=0>
<tr>
<td class='cm02'><?=$list[$i][content]?> </td>
</tr>
</table>
</td>
</tr>
</table><br>
<? } // for ?>
<? if ($is_comment_write) { ?>
<!-- 코멘트 쓰기 -->
<table width=<?=$width?> align=center cellpadding=10 cellspacing=0 border=0 bgcolor=#F5F5F5>
<form name=fgbview method=post action='./?doc=bbs/gbupdate.php'>
<input type=hidden name=w value='c'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>' >
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=spart value='<?=$spart?>'>
<input type=hidden name=wr_id value='<?=$wr_id?>'>
<input type=hidden name=page value='<?=$page?>'>
<tr>
<td align=center>
<table width=100% cellpadding=0 cellspacing=0 bgcolor=#FFFFFF border=0 style='border:1px solid #cccccc'>
<tr>
<td height=35> + <span class=bl>Name : <?=preg_replace("/class=input/", "class=input", $c_name)?></span>
<? if ($is_guest) { ?>
<span class=bl>Password : </span><input type=password name=wr_passwd size=10 class=input required itemname='비밀번호'></td>
<? } ?>
<td align=right><a href='javascript:textarea_size(document.fgbview.wr_content, 5)'><img src='<?=$board_skin?>/icon_down.gif' border=0 align=absmiddle></a> <a href='javascript:textarea_size(document.fgbview.wr_content, -5)'><img src='<?=$board_skin?>/icon_up.gif' border=0 align=absmiddle></a> </td>
</tr>
<tr>
<td colspan=2 align=center>
<table width=98% cellpadding=0 cellspacing=0>
<tr><td><textarea name=wr_content style='border: 1px solid #C2C2C2; word-break:break-all; width:100%;' rows=5 required itemname='내용'></textarea></td><td width=64><input type=image src='<?="$board_skin/btncomment.gif"?>' border=0 align=absmiddle></td></tr>
<tr><td colspan=2 height=5></td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table><br>
<? } // if ?>
<? } // if ?>
<!-- 링크 -->
<table width=98% <?=/*$width*/?> align=center border=0 cellpadding=4 cellspacing=0>
<tr>
<td width=75% height=35>
<? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin/searchlist.gif' border=0 alt='검색목록' align=absmiddle></a>"; } ?>
<? echo "<a href=\"$list_href\"><img src='$board_skin/list.gif' border=0 alt='목록' align=absmiddle></a>"; ?>
<? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin/write.gif' border=0 alt='글쓰기' align=absmiddle></a>"; } ?>
<? if ($reply_href) { echo "<a href=\"$reply_href\"><img src='$board_skin/reply.gif' border=0 alt='답변' align=absmiddle></a>"; } ?>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin/edit.gif' border=0 alt='수정' align=absmiddle></a>"; } ?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin/delete.gif' border=0 alt='삭제' align=absmiddle></a>"; } ?>
<? if ($good_href) { echo "<a href=\"$good_href\"><img src='$board_skin/good.gif' border=0 alt='추천' align=absmiddle></a>"; } ?>
<? if ($nogood_href) { echo "<a href=\"$nogood_href\"><img src='$board_skin/nogood.gif' border=0 alt='비추천' align=absmiddle></a>"; } ?>
<? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin/copy.gif' border=0 alt='복사' align=absmiddle></a>"; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin/move.gif' border=0 alt='이동' align=absmiddle></a>"; } ?>
</td>
<td width=25% align=right>
<? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin/prev.gif' border=0 alt='이전글' align=absmiddle></a>"; } ?>
<? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin/next.gif' border=0 alt='다음글' align=absmiddle></a>"; } ?>
</td>
</tr>
</table>
<br>
<script language="JavaScript">
<!--
// HTML 로 넘어온 <img ... > 태그의 폭이 테이블폭보다 크다면 테이블폭을 적용한다.
// 제로보드 참고
function resize_image()
{
var target = document.getElementsByName('target_resize_image[]');
for(i=0; i<target.length; i++) {
// 원래 사이즈를 저장해 놓는다
target[i].tmp_width = target[i].width;
target[i].tmp_height = target[i].height;
// 이미지 폭이 테이블 폭보다 크다면 테이블폭에 맞춘다
if(target[i].width > document.main_table.width)
target[i].width = document.main_table.width;
}
}
window.onload = resize_image;
//-->
</script>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
if (!$skin_no) $skin_no = "01";
?>
<META http-equiv="imagetoolbar" content="no">
<link rel='stylesheet' href='<?=$board_skin?>/style<?=$skin_no?>.css' type='text/css'>
<? // 확장변수
$ex_filed = explode("|",$wr_5);
$ext_00 = $ex_filed[0];
$ext_01 = $ex_filed[1];
$ext_02 = $ex_filed[2];
$ext_03 = $ex_filed[3];
$ext_04 = $ex_filed[4];
$ext_05 = $ex_filed[5];
?>
<?
// HTML 이면
if ($write[wr_html])
$content = preg_replace("/(\<img)([^\>]*)(\>)/i", "\\1 name=target_resize_image[] onclick=image_window2(this) style='cursor:hand;' tmp_width=0 tmp_height=0 \\2 \\3", $content);
?>
<script language="JavaScript">
<!--
function image_window2(src)
{
var img = src.src;
var tmp_w = w = src.tmp_width;
var tmp_h = h = src.tmp_height;
winl = (screen.width-w)/2;
wint = (screen.height-h)/3;
if (w >= screen.width) {
winl = 0;
w = screen.width - 10;
h = (parseInt)(w * (h / w));
}
if (h >= screen.height) {
wint = 0;
h = screen.height - 80;
w = (parseInt)(h * (w / h));
}
var settings ='width='+w+',';
settings +='height='+h+',';
settings +='top='+wint+',';
settings +='left='+winl+',';
settings +='scrollbars=no,';
settings +='resizable=no,';
settings +='status=no';
win=window.open("","newWindow",settings);
win.document.open();
win.document.write ("<html><head><meta http-equiv='content-type' content='text/html; charset=euc-kr'>");
win.document.write ("<title>이미지 보기</title></head>");
win.document.write ("<body leftmargin=0 topmargin=0>");
win.document.write ("<img src='"+img+"' width='"+w+"' height='"+h+"'border=0 onclick='window.close();' style='cursor:hand'>");
win.document.write ("</body></html>");
win.document.close();
if(parseInt(navigator.appVersion) >= 4){win.window.focus();}
}
//-->
</script>
<!-- ########## {레이아웃 테이블 시작} ###########--//-->
<table width=95%<?=/*$width*/?> border=0 align=center cellpadding=2 cellspacing=0 class='tb00'>
<tr><td height=5></td></tr>
<tr>
<td>
<table width='100%' border=0 cellpadding=3 cellspacing=0 style='border:1px solid #cccccc'>
<tr height=30>
<td width=80%> <img src='<?=$board_skin?>/icon_direct2.gif'> <span class='ca'><? if ($is_category) echo "[$category_name] "; ?></span> <span class='bh'><?=$subject?></span></td>
<td width='' align=right> <span class='bl'>View: <?=$hit?> </td>
</tr>
</table>
</td></tr>
<tr><td align=center>
<!--################################ 옵션 필드추가 ##########################################-//-->
<table style="table-layout:fixed" width=100% border=0 cellpadding=3 cellspacing=0>
<col width='210'> <!-- 이미지 삽입 칼럼폭 --//-->
<col width='20'> <!-- 빈공간 --//-->
<col width=''> <!-- 내 용 삽입 칼럼폭 --//-->
<tr>
<td nowrap valign=middle>
<? //------------##### 첫번째 이미지 파일 새창열기
if($write[wr_file1]){
$row = $write;
$img1_width = 200; // 이미지 가로크기
$img1_height = 200; // 이미지 세로크기
$win1_width = 200; // 새창 가로크기
$win1_height = 200; // 새창 세로크기
//수정된 부분
$win1_size = @getimagesize("./data/file/$board[bo_table]/$row[wr_file1]");
$win1_source_width = $win1_size[0];
$win1_source_height = $win1_size[1];
$file1_view= "<img src='./data/file/$board[bo_table]/$row[wr_file1]' width='$img1_width' height='$img1_height' border=0>";
$index_view= "<a href=\"javascript:;\" onclick=\"image_window('./data/file/$board[bo_table]/$row[wr_file1]', $win1_source_width, $win1_source_height);\"><img src='$board_skin/btn_bigphoto.gif' border=0></a>";
}else if(!$write[wr_file1]) {
$file1_view = "<img src='$board_skin/noimage1.gif'>";
}
?>
<!-- //----- 이미지 불러오기 --//-->
<?
echo "<table border=0 cellpadding=2 align=center style='border=1px solid #cccccc'><tr>";
echo "<td align=center valign=middle width=$img1_width>". $file1_view ."<br>".$index_view."</td>"; // 첫번째 파일 불러오기
echo "</tr></table>";
?>
<!-- 이미지 삽입 끝 --//-->
</td>
<td></td>
<td width='50%' valign='top'>
<table width="100%" align="center" cellpadding=6 cellspacing=0 border=0 style='border:0px solid #B5B58E'>
<colgroup width='100' nowrap>
<colgroup width=''>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>상품명</b></font></td>
<td class='con_bg con_t'>:   <b><?=$subject?></b></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>제품분류</b></font></td>
<td class='con_bg con_t'>:   <?=$category_name?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>상품코드</b></font></td>
<td class='con_bg con_t'>:   <?=$ext_00?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>제조사</b></font></td>
<td class='con_bg con_t'>:   <?=$ext_01?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>적용차종</b></font></td>
<td class='con_bg con_t'>:   <?=$ext_02?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>제품가격</b></font></td>
<td class='con_bg con_t'>:   <font color=#FF6600><?=$ext_03?></font>원</td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td class='sub_t sub_bg'> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>공임여부</b></font></td>
<td class='con_bg con_t'>:   <?=$ext_04?></td>
</tr>
<tr><td colspan=2 class='line3'></td></tr>
<tr>
<td colspan=2 align=center>
<? echo "<a href=\"$list_href\"><img src='$board_skin/btn_list.jpg' border=0 alt='목록'></a>"; ?>
<a href='?doc=bbs/gnuboard.php&bo_table=tmaC01_bd02'><img src='<?=$board_skin?>/btn_ask.jpg' height=25 width=120></a></td>
</tr>
</table>
</td></tr>
</table>
<br>
<table width=100% cellspacing=0 cellpadding=4 style='border:1px solid #cccccc'>
<tr><td height=24 bgcolor=#F5F5F5> <img src='<?=$board_skin?>/icon_direct.gif'> <font color=#666666><b>제품 상세 리뷰</b></font></td></tr>
</table>
<!--################################ 옵션 필드추가 끝 ##########################################-//-->
</td></tr>
<tr>
<td colspan=2>
<table width=100% cellpadding=2 class=tb03>
<?
// 링크 설정한 값만큼 출력
for ($i=1; $i<=$cfg[link_count]; $i++) {
if ($link[$i][link]) {
echo "<tr><td colspan=2 height=20 class=bl> + <b>WebSite</b> : <a href='{$link[$i][href]}' target='$default[de_link_target]'>{$link[$i][link]}</a>, Hit:{$link[$i][hit]}</td></tr>";
}
}
?>
<? /*
// 파일 업로드 설정한 값만큼 출력
for ($i=1; $i<=$cfg[file_count]; $i++) {
if ($file[$i][source]) {
echo "<tr><td colspan=2 height=20 class=bl> + <img src='$board_skin/icon_file.gif' align='absmiddle'> <a href='{$file[$i][href]}'>{$file[$i][source]} ({$file[$i][size]})</a>, Down:{$file[$i][download]}</td></tr>";
}
} */
?>
<tr>
<td style='word-break:break-all;' class='lh' valign=top>
<? // -- 두번째파일 부터 출력
for ($i=2; $i<=$cfg[file_count]; $i++) {
if ($file[$i][view]) { echo $file[$i][view]; }
}
?>
<img name=main_table width=<?=$width?> height=0 border=0>
<!-- 내용 출력 -->
<span class=bl><?=$content?></span>
<!-- 테러 태그 방지용 -->
</xml></xmp><a href=""></a><a href=''></a></td></tr>
<? if ($is_signature) { echo "<tr><td>$signature</td></tr>"; } // 서명 출력 ?>
</table>
</td>
<!-- ########## {레이아웃 테이블 끝} ###########--//-->
</td></tr>
<tr><td height=1 bgcolor=#cccccc></td></tr>
</table>
<table><tr><td></table><!--공백테이블--//-->
<? if ($is_comment) { ?>
<!-- 코멘트 내용 -->
<? for ($i=0; $i<count($list); $i++) { ?>
<a name='c<?=$list[$i][wr_id]?>'></a>
<table width=<?=$width?> border=0 align=center cellpadding=2 cellspacing=0>
<tr bgcolor='#F7F7F7'>
<td height=25 class=cm01> + <?=$list[$i][name]?> (<?=$list[$i][ip]?>) <? if ($list[$i][is_del]) { echo "{$list[$i][del_href]}<img src='$board_skin/com_del.gif' border=0 align=absmiddle></a> "; } ?></td><td align=right class=cm01><?=$list[$i][datetime]?> </td>
</tr>
<tr>
<td valign=top colspan=2>
<table width=100% cellpadding=2 cellspacing=0>
<tr>
<td class='cm02'><?=$list[$i][content]?> </td>
</tr>
</table>
</td>
</tr>
</table><br>
<? } // for ?>
<? if ($is_comment_write) { ?>
<!-- 코멘트 쓰기 -->
<table width=<?=$width?> align=center cellpadding=10 cellspacing=0 border=0 bgcolor=#F5F5F5>
<form name=fgbview method=post action='./?doc=bbs/gbupdate.php'>
<input type=hidden name=w value='c'>
<input type=hidden name=bo_table value='<?=$bo_table?>'>
<input type=hidden name=sselect value='<?=$sselect?>' >
<input type=hidden name=stext value='<?=$stext?>'>
<input type=hidden name=spart value='<?=$spart?>'>
<input type=hidden name=wr_id value='<?=$wr_id?>'>
<input type=hidden name=page value='<?=$page?>'>
<tr>
<td align=center>
<table width=100% cellpadding=0 cellspacing=0 bgcolor=#FFFFFF border=0 style='border:1px solid #cccccc'>
<tr>
<td height=35> + <span class=bl>Name : <?=preg_replace("/class=input/", "class=input", $c_name)?></span>
<? if ($is_guest) { ?>
<span class=bl>Password : </span><input type=password name=wr_passwd size=10 class=input required itemname='비밀번호'></td>
<? } ?>
<td align=right><a href='javascript:textarea_size(document.fgbview.wr_content, 5)'><img src='<?=$board_skin?>/icon_down.gif' border=0 align=absmiddle></a> <a href='javascript:textarea_size(document.fgbview.wr_content, -5)'><img src='<?=$board_skin?>/icon_up.gif' border=0 align=absmiddle></a> </td>
</tr>
<tr>
<td colspan=2 align=center>
<table width=98% cellpadding=0 cellspacing=0>
<tr><td><textarea name=wr_content style='border: 1px solid #C2C2C2; word-break:break-all; width:100%;' rows=5 required itemname='내용'></textarea></td><td width=64><input type=image src='<?="$board_skin/btncomment.gif"?>' border=0 align=absmiddle></td></tr>
<tr><td colspan=2 height=5></td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</form>
</table><br>
<? } // if ?>
<? } // if ?>
<!-- 링크 -->
<table width=98% <?=/*$width*/?> align=center border=0 cellpadding=4 cellspacing=0>
<tr>
<td width=75% height=35>
<? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin/searchlist.gif' border=0 alt='검색목록' align=absmiddle></a>"; } ?>
<? echo "<a href=\"$list_href\"><img src='$board_skin/list.gif' border=0 alt='목록' align=absmiddle></a>"; ?>
<? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin/write.gif' border=0 alt='글쓰기' align=absmiddle></a>"; } ?>
<? if ($reply_href) { echo "<a href=\"$reply_href\"><img src='$board_skin/reply.gif' border=0 alt='답변' align=absmiddle></a>"; } ?>
<? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin/edit.gif' border=0 alt='수정' align=absmiddle></a>"; } ?>
<? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin/delete.gif' border=0 alt='삭제' align=absmiddle></a>"; } ?>
<? if ($good_href) { echo "<a href=\"$good_href\"><img src='$board_skin/good.gif' border=0 alt='추천' align=absmiddle></a>"; } ?>
<? if ($nogood_href) { echo "<a href=\"$nogood_href\"><img src='$board_skin/nogood.gif' border=0 alt='비추천' align=absmiddle></a>"; } ?>
<? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin/copy.gif' border=0 alt='복사' align=absmiddle></a>"; } ?>
<? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin/move.gif' border=0 alt='이동' align=absmiddle></a>"; } ?>
</td>
<td width=25% align=right>
<? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin/prev.gif' border=0 alt='이전글' align=absmiddle></a>"; } ?>
<? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin/next.gif' border=0 alt='다음글' align=absmiddle></a>"; } ?>
</td>
</tr>
</table>
<br>
<script language="JavaScript">
<!--
// HTML 로 넘어온 <img ... > 태그의 폭이 테이블폭보다 크다면 테이블폭을 적용한다.
// 제로보드 참고
function resize_image()
{
var target = document.getElementsByName('target_resize_image[]');
for(i=0; i<target.length; i++) {
// 원래 사이즈를 저장해 놓는다
target[i].tmp_width = target[i].width;
target[i].tmp_height = target[i].height;
// 이미지 폭이 테이블 폭보다 크다면 테이블폭에 맞춘다
if(target[i].width > document.main_table.width)
target[i].width = document.main_table.width;
}
}
window.onload = resize_image;
//-->
</script>
<?=/*$width*/?>
삭제하거나
<?/*=$width*/?>
삭제하거나
<?/*=$width*/?>