다시 한 번 질문드립니다. 정보
다시 한 번 질문드립니다.본문
http://www.sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=148345&sca=&sfl=wr_subject%7C%7Cwr_content&stx=%C1%F7%B0%C5%B7%A1&sop=and
얼마전 질문한 내용인데 제가 너무 어렵게 글을 썼나 답변이 없어 다시 질문드립니다.
http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=84405&sca=&sfl=wr_subject&stx=%C1%F7%B0%C5%B7%A1&sop=and
http://rankiss.co.kr/bbs/board.php?bo_table=download&wr_id=20
불량감자님의 위에 두 스킨을 적용 했는데 최신글 스킨 소스에서 여분필드 부분을 위 게시판 스킨에 맞게 수정을 해야 하는데 방법을 모르겠습니다.
고수님들께서 좀 도와 주시면 감사하겠습니다(__)
얼마전 질문한 내용인데 제가 너무 어렵게 글을 썼나 답변이 없어 다시 질문드립니다.
http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=84405&sca=&sfl=wr_subject&stx=%C1%F7%B0%C5%B7%A1&sop=and
http://rankiss.co.kr/bbs/board.php?bo_table=download&wr_id=20
불량감자님의 위에 두 스킨을 적용 했는데 최신글 스킨 소스에서 여분필드 부분을 위 게시판 스킨에 맞게 수정을 해야 하는데 방법을 모르겠습니다.
고수님들께서 좀 도와 주시면 감사하겠습니다(__)
댓글 전체

에고 ~~~ 비교해서 찾는다고 신경 좀 썼더니만 후덜덜 ~~~
latest.skin.php 아래 수정하세요
wr_9 ====> wr_3
wr_7 ====> wr_6
latest.skin.php 아래 수정하세요
wr_9 ====> wr_3
wr_7 ====> wr_6
짚어 주신건 형태부분(삽니다,팝니다.)만 짚어 주신거 같네여
현재 상태가 매장,거래지역,제목만 나오고 형태,희망가격 부분은 나오지 않고 거래상황 부분은 무조건 거래완료로만 표시가 됩니다.
이 부분을 전부 게시판 여분필드와 같게 수정을 해야 하는데 그걸 모르겠다는겁니다.
짚어 주신 부분도 일단 수정을 해 봤는데 적용이 안 되네여ㅡㅡ
현재 상태가 매장,거래지역,제목만 나오고 형태,희망가격 부분은 나오지 않고 거래상황 부분은 무조건 거래완료로만 표시가 됩니다.
이 부분을 전부 게시판 여분필드와 같게 수정을 해야 하는데 그걸 모르겠다는겁니다.
짚어 주신 부분도 일단 수정을 해 봤는데 적용이 안 되네여ㅡㅡ

최신글 아래로 바꾸어 보세요... 수정되었습니다..
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
//코멘트와 리플글은 제외
$sql = " select * from $tmp_write_table
where wr_comment = '' and wr_reply = ''
order by wr_id DESC LIMIT 0, 1 ";
$result = sql_query($sql);
$last_con = sql_fetch_array($result);
?>
<table width='100%' cellpadding='0' cellspacing='0'>
<? for ($i=0; $i<count($list); $i++) { ?>
<?
$ex6_filed = explode("|",$list[$i][wr_6]);
$ext6_06 = $ex6_filed[6]; // 거래방법
$ext6_07 = $ex6_filed[7]; // 거래상황
$ext6_08 = $ex6_filed[8]; // 희망가
?>
<tr>
<td align=center onMouseOver=this.style.backgroundColor='#fafafa' onMouseOut=this.style.backgroundColor=''>
<table width=100% cellpadding=0 cellspacing=0>
<tr height='27'>
<td width='80' align='left' style='padding-left:3px;'>
<?
$bo_subject = cut_str($list[$i]['bo_subject'], 15);
$wr_subject = cut_str($list[$i]['wr_subject'], 30);
?><nobr style='display:block; overflow:hidden; width:80px;'><?=$bo_subject?></nobr>
</td>
<?
$p_nine = explode("|",$list[$i][wr_3]);
$nine11 = $p_nine[10];
$p_seven = explode("|",$list[$i][wr_6]);
$seven12 = $p_seven[11];
echo $list[$i]['icon_reply'] . " ";
echo "<td width='40' align='center'>";
if ($list[$i][wr_3] == "팝니다") { // 팝니다
echo "<img src='{$latest_skin_path}/img/icon_01.gif' width='40' height='19' align='absmiddle' border=0>";
}
else if ($list[$i][wr_3] == "삽니다") { // 삽니다
echo "<img src='{$latest_skin_path}/img/icon_02.gif' width='40' height='19' align='absmiddle' border=0>";
}
echo "</td>";
echo "<td width='80' align='center'>[{$list[$i]['ca_name']}]</td>";
?>
<td width='220' align='left'><table cellpadding="1" cellspacing="0" width="100%">
<tr><td><a href="<?=$list[$i][href]?>"><?=$list[$i][subject]?><a> <span style="font-size:8pt;"><font color="#FF6600"><?=$list[$i][comment_cnt]?></font></span> <?=$list[$i][icon_new]?></a></td></tr>
<tr><td align="left"><span style="font-size:8pt;letter-spacing:-1px;"><font face="돋움" color="#999999"><?=$list[$i][wr_4]?> / <?=$list[$i][wr_5]?> / <?=$ext6_06?></font></span>
<?
if ($list[$i][wr_8] == "가격절충") {
echo "<img src=\"{$latest_skin_path}/img/icon_05.gif\" width='47' height='13' align='absmiddle' border=0>";
}
?>
</td></tr></table></td>
<?
echo "<td width='90' align='center' ><font color='#B32E00'>$ext6_08 원</font></td>";
echo "<td width='60' align='center'>";
$date_ymd = date(Y)."-".date(m)."-".date(d);
if ($date_ymd >= $seven12 == "거래중") { // 거래중
echo "<img src='{$latest_skin_path}/img/icon_03.gif' width='47' height='13' align='absmiddle' border=0>";
}
else if ($date_ymd <= $seven12 == "거래완료") { // 거래완료
echo "<img src='{$latest_skin_path}/img/icon_04.gif' width='47' height='13' align='absmiddle' border=0>";
}
echo "</td>";
?></td></tr>
<tr><td bgcolor=#EBEBEB height=1 colspan='7'></td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
//코멘트와 리플글은 제외
$sql = " select * from $tmp_write_table
where wr_comment = '' and wr_reply = ''
order by wr_id DESC LIMIT 0, 1 ";
$result = sql_query($sql);
$last_con = sql_fetch_array($result);
?>
<table width='100%' cellpadding='0' cellspacing='0'>
<? for ($i=0; $i<count($list); $i++) { ?>
<?
$ex6_filed = explode("|",$list[$i][wr_6]);
$ext6_06 = $ex6_filed[6]; // 거래방법
$ext6_07 = $ex6_filed[7]; // 거래상황
$ext6_08 = $ex6_filed[8]; // 희망가
?>
<tr>
<td align=center onMouseOver=this.style.backgroundColor='#fafafa' onMouseOut=this.style.backgroundColor=''>
<table width=100% cellpadding=0 cellspacing=0>
<tr height='27'>
<td width='80' align='left' style='padding-left:3px;'>
<?
$bo_subject = cut_str($list[$i]['bo_subject'], 15);
$wr_subject = cut_str($list[$i]['wr_subject'], 30);
?><nobr style='display:block; overflow:hidden; width:80px;'><?=$bo_subject?></nobr>
</td>
<?
$p_nine = explode("|",$list[$i][wr_3]);
$nine11 = $p_nine[10];
$p_seven = explode("|",$list[$i][wr_6]);
$seven12 = $p_seven[11];
echo $list[$i]['icon_reply'] . " ";
echo "<td width='40' align='center'>";
if ($list[$i][wr_3] == "팝니다") { // 팝니다
echo "<img src='{$latest_skin_path}/img/icon_01.gif' width='40' height='19' align='absmiddle' border=0>";
}
else if ($list[$i][wr_3] == "삽니다") { // 삽니다
echo "<img src='{$latest_skin_path}/img/icon_02.gif' width='40' height='19' align='absmiddle' border=0>";
}
echo "</td>";
echo "<td width='80' align='center'>[{$list[$i]['ca_name']}]</td>";
?>
<td width='220' align='left'><table cellpadding="1" cellspacing="0" width="100%">
<tr><td><a href="<?=$list[$i][href]?>"><?=$list[$i][subject]?><a> <span style="font-size:8pt;"><font color="#FF6600"><?=$list[$i][comment_cnt]?></font></span> <?=$list[$i][icon_new]?></a></td></tr>
<tr><td align="left"><span style="font-size:8pt;letter-spacing:-1px;"><font face="돋움" color="#999999"><?=$list[$i][wr_4]?> / <?=$list[$i][wr_5]?> / <?=$ext6_06?></font></span>
<?
if ($list[$i][wr_8] == "가격절충") {
echo "<img src=\"{$latest_skin_path}/img/icon_05.gif\" width='47' height='13' align='absmiddle' border=0>";
}
?>
</td></tr></table></td>
<?
echo "<td width='90' align='center' ><font color='#B32E00'>$ext6_08 원</font></td>";
echo "<td width='60' align='center'>";
$date_ymd = date(Y)."-".date(m)."-".date(d);
if ($date_ymd >= $seven12 == "거래중") { // 거래중
echo "<img src='{$latest_skin_path}/img/icon_03.gif' width='47' height='13' align='absmiddle' border=0>";
}
else if ($date_ymd <= $seven12 == "거래완료") { // 거래완료
echo "<img src='{$latest_skin_path}/img/icon_04.gif' width='47' height='13' align='absmiddle' border=0>";
}
echo "</td>";
?></td></tr>
<tr><td bgcolor=#EBEBEB height=1 colspan='7'></td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan=4 align=center height=50><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
드디어 해결 됐네여 오랫동안 이것땜에 스트레스였는데 정말 너무 너무 감사드립니다.
복 많이 받으시구 항상 행복한 일만 가득하시길 빌겠습니다.
다시 한 번 감사드립니다(__)
복 많이 받으시구 항상 행복한 일만 가득하시길 빌겠습니다.
다시 한 번 감사드립니다(__)

-- 또 수정되었습니다 --
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
//코멘트와 리플글은 제외
$sql = " select * from $tmp_write_table where wr_comment = '' and wr_reply = '' order by wr_id DESC LIMIT 0, 1 ";
$result = sql_query($sql);
$last_con = sql_fetch_array($result);
?>
<table width='100%' cellpadding='0' cellspacing='0'>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align='center' onMouseOver=this.style.backgroundColor='#fafafa' onMouseOut=this.style.backgroundColor=''>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr height='27'>
<td width='80' align='left' style='padding-left:3px;'>
<?
//$bo_subject = cut_str($list[$i]['bo_subject'], 15);
//$wr_subject = cut_str($list[$i]['wr_subject'], 30);
?>
<nobr style='display:block; overflow:hidden; width:80px;'><?=$board[bo_subject]?></nobr>
</td>
<?
//$p_nine = explode("|",$list[$i][wr_3]);
//$nine11 = $p_nine[10];
//$p_seven = explode("|",$list[$i][wr_6]);
//$seven12 = $p_seven[11];
//echo $list[$i]['icon_reply'] . " ";
echo "<td width='40' align='center'>";
if ($list[$i][wr_3] == "팝니다") { // 팝니다
echo "<img src='{$latest_skin_path}/img/icon_01.gif' width='40' height='19' align='absmiddle' border=0>";
}
else if ($list[$i][wr_3] == "삽니다") { // 삽니다
echo "<img src='{$latest_skin_path}/img/icon_02.gif' width='40' height='19' align='absmiddle' border=0>";
}
echo "</td>";
echo "<td width='80' align='center'>[{$list[$i]['ca_name']}]</td>";
?>
<td width='220' align='left'><table cellpadding="1" cellspacing="0" width="100%">
<table>
<tr>
<td><a href="<?=$list[$i][href]?>"><?=$list[$i][subject]?><a> <span style="font-size:8pt;"><font color="#FF6600"><?=$list[$i][comment_cnt]?></font></span> <?=$list[$i][icon_new]?></a>
<?
if ($list[$i][wr_8] == "가격절충") {
echo "<img src=\"{$latest_skin_path}/img/icon_05.gif\" width='47' height='13' align='absmiddle' border=0>";
}
?>
</td>
</tr>
</table>
</td>
<?
$ex6_filed = explode("|",$list[$i][wr_6]);
//$ext6_06 = $ex6_filed[6]; // 거래방법
$ext6_07 = $ex6_filed[7]; // 거래상황
$ext6_08 = $ex6_filed[8]; // 희망가
?>
<td width='90' align='center' ><font color='#B32E00'><?=$ext6_08?> 원</font></td>
<td width='60' align='center'>
<?
if ($ext6_07 == "거래중") { // 거래중
echo "<img src=\"{$latest_skin_path}/img/icon_03.gif\" width='47' height='13' align='absmiddle' border=0>";
}
else if ($ext6_07 == "거래완료") { // 거래완료
echo "<img src=\"{$latest_skin_path}/img/icon_04.gif\" width='47' height='13' align='absmiddle' border=0>";
}
?>
</td></tr>
<tr><td bgcolor='#EBEBEB' height='1' colspan='7'></td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan='4' align='center' height='50'><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
//코멘트와 리플글은 제외
$sql = " select * from $tmp_write_table where wr_comment = '' and wr_reply = '' order by wr_id DESC LIMIT 0, 1 ";
$result = sql_query($sql);
$last_con = sql_fetch_array($result);
?>
<table width='100%' cellpadding='0' cellspacing='0'>
<? for ($i=0; $i<count($list); $i++) { ?>
<tr>
<td align='center' onMouseOver=this.style.backgroundColor='#fafafa' onMouseOut=this.style.backgroundColor=''>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr height='27'>
<td width='80' align='left' style='padding-left:3px;'>
<?
//$bo_subject = cut_str($list[$i]['bo_subject'], 15);
//$wr_subject = cut_str($list[$i]['wr_subject'], 30);
?>
<nobr style='display:block; overflow:hidden; width:80px;'><?=$board[bo_subject]?></nobr>
</td>
<?
//$p_nine = explode("|",$list[$i][wr_3]);
//$nine11 = $p_nine[10];
//$p_seven = explode("|",$list[$i][wr_6]);
//$seven12 = $p_seven[11];
//echo $list[$i]['icon_reply'] . " ";
echo "<td width='40' align='center'>";
if ($list[$i][wr_3] == "팝니다") { // 팝니다
echo "<img src='{$latest_skin_path}/img/icon_01.gif' width='40' height='19' align='absmiddle' border=0>";
}
else if ($list[$i][wr_3] == "삽니다") { // 삽니다
echo "<img src='{$latest_skin_path}/img/icon_02.gif' width='40' height='19' align='absmiddle' border=0>";
}
echo "</td>";
echo "<td width='80' align='center'>[{$list[$i]['ca_name']}]</td>";
?>
<td width='220' align='left'><table cellpadding="1" cellspacing="0" width="100%">
<table>
<tr>
<td><a href="<?=$list[$i][href]?>"><?=$list[$i][subject]?><a> <span style="font-size:8pt;"><font color="#FF6600"><?=$list[$i][comment_cnt]?></font></span> <?=$list[$i][icon_new]?></a>
<?
if ($list[$i][wr_8] == "가격절충") {
echo "<img src=\"{$latest_skin_path}/img/icon_05.gif\" width='47' height='13' align='absmiddle' border=0>";
}
?>
</td>
</tr>
</table>
</td>
<?
$ex6_filed = explode("|",$list[$i][wr_6]);
//$ext6_06 = $ex6_filed[6]; // 거래방법
$ext6_07 = $ex6_filed[7]; // 거래상황
$ext6_08 = $ex6_filed[8]; // 희망가
?>
<td width='90' align='center' ><font color='#B32E00'><?=$ext6_08?> 원</font></td>
<td width='60' align='center'>
<?
if ($ext6_07 == "거래중") { // 거래중
echo "<img src=\"{$latest_skin_path}/img/icon_03.gif\" width='47' height='13' align='absmiddle' border=0>";
}
else if ($ext6_07 == "거래완료") { // 거래완료
echo "<img src=\"{$latest_skin_path}/img/icon_04.gif\" width='47' height='13' align='absmiddle' border=0>";
}
?>
</td></tr>
<tr><td bgcolor='#EBEBEB' height='1' colspan='7'></td></tr>
</table></td>
</tr>
<? } ?>
<? if (count($list) == 0) { ?><tr><td colspan='4' align='center' height='50'><font color=#6A6A6A>게시물이 없습니다.</a></td></tr><? } ?>
</table>
이 소스보단 위에 소스가 더 맞는거 같은데여 이 소스는 매장부분(게시판) 분류가 되지않고 하나만 출력이 됩니다.
그리고 제목부분에서 제목밑에 상품명,거래방법등이 출력 되지가 않네여
다른 부분은 정상적으로 출력 되구여
이 소스말고 위에 소스는 다 정상적으로 출력은 되는데 거래상황에서 무조건 거래완료로 뜨는 오류가 있네여
그래서 위 소스에 이소스 거래상황부분만 갖다 붙혔는데 오류가 납니다.
수고스러우시겠지만 다시 한 번 확인 부탁드릴게여(__)
그리고 제목부분에서 제목밑에 상품명,거래방법등이 출력 되지가 않네여
다른 부분은 정상적으로 출력 되구여
이 소스말고 위에 소스는 다 정상적으로 출력은 되는데 거래상황에서 무조건 거래완료로 뜨는 오류가 있네여
그래서 위 소스에 이소스 거래상황부분만 갖다 붙혔는데 오류가 납니다.
수고스러우시겠지만 다시 한 번 확인 부탁드릴게여(__)
아이고! 어떻게 어떻게 위 두 소스를 이리저리 껴 맞추다 해결 했네여^^
괜히 번거롭게 해드려 죄송합니다(__)
괜히 번거롭게 해드려 죄송합니다(__)