COMING SOON 🚀

배추 베이직게시판과 원룸게시판을 합치려고합니다.

배추 베이직게시판 틀에 내용을 원룸게시판 처럼 하려고 합니다.

정확히 말하면 배추베이직게시판의 모든 기능과 버튼을 가진

내용만 원룸게시판인 게시판을 만들려고 합니다.

직접 해보려 했으나...아무것도 몰라서 며칠째 복사 붙여넣기만 하다가 이렇게 올려봅니다.

원룸게시판 소스입니다...

Copy
<?if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 include_once("$board_skin_path/common.lib.php");include_once("$board_skin_path/lib/skin.lib.php"); include_once("$board_skin_path/lib/sns.lib.php");
$map_width="700";$map_height="500";
// 파일 출력ob_start();if ($board[bo_ucc]==0) {for ($i=0; $i<=$view[file][count]; $i++) {    if ($view[file][$i][view]) {        if ($board[bo_image_width] < $view[file][$i][image_width]) { // 이미지 크기 조절            $img_width = $board[bo_image_width];        } else {            $img_width = $view[file][$i][image_width];        }        $view[file][$i][view] = str_replace("<img", "<img width=\"{$img_width}\"", $view[file][$i][view]);
 } else {     $view[file][$i][view] = str_replace("onclick='image_window(this);'",   "onclick='image_window(this, {$view[file][$i][image_width]}, {$view[file][$i][image_height]});'", $view[file][$i][view]);     // 제나빌더용 (그누보드 원본수정으로 인해 따옴표' 가 없음;)     $view[file][$i][view] = str_replace("onclick=image_window(this);",   "onclick='image_window(this, {$view[file][$i][image_width]}, {$view[file][$i][image_height]});'", $view[file][$i][view]);  }        echo $view[file][$i][view] . "<br/><br/>";    }}
$file_viewer = ob_get_contents();ob_end_clean();
if (!strstr($view[content], "{이미지:"))// 파일 출력      $view[content] = $file_viewer . $view[content]; //배추 베이직 게시판 코드 참조if ($write[wr_report] && $write[wr_report] < $board[bo_report_repeat] && $board[bo_report_wr_lockup]) {    $content = " <div class='btn_report_lockup'> 신고가 접수된 게시물입니다. (신고수 : {$write[wr_report]}회)<br/>";    $content.= " <span onclick=\"btn_report_view({$view[wr_id]})\" class='report_info'>여기</span>를 클릭하시면 내용을 볼 수 있습니다.";    if ($is_admin == "super")        $content.= "<span class='btn_report_lockup' onclick=\"btn_report_reset({$view[wr_id]})\">[신고 초기화]</span><br /><br />";    $content.= " </div>";    $content.= " <div id='report_lockup_{$view[wr_id]}' class='report_lockup'>{$view[content]} </div>";
    $view[content] = $content;}else{if ($write[wr_report] && $write[wr_report] >= $board[bo_report_repeat] && $board[bo_report_wr_lockup]) {    $content = " <div class='btn_report_lockup'> ※ <span class='report_info'>{$board[bo_report_repeat]}회</span> 이상 신고된 게시물의 내용은 보실 수 없습니다. <br />";    if ($is_admin == "super")        $content.= "<li><span onclick=\"btn_report_view({$view[wr_id]})\" class='btn_report_lockup'>[신고글 보기]</span> <span class='btn_report_lockup' onclick=\"btn_report_reset({$view[wr_id]})\">[신고 초기화]</span><br /><br /></li>";    $content.= " </div>";    $content.= " <div id='report_lockup_{$view[wr_id]}' class='report_lockup'>{$view[content]} </div>";
    $view[content] = $content;}}
// 인쇄 버튼if ($board[bo_print]) {    $print_href = "javascript:btn_print()";}
// 신고 버튼if ($board[bo_report]) {    $report_href = "javascript:btn_report($wr_id, $wr_id)";}
// 게시자 포인트 지급if ($write[wr_id]) {               $mb = get_member($write[mb_id]); }//$level = get_member_level($mb['mb_id'],$mb['mb_point']);
$view[rich_content] = preg_replace("/{이미지\:([0-9]+)[:]?([^}]*)}/ie", "view_image(\$view, '\\1', '\\2')", $view[content]);
// 웹에디터 이미지 클릭시 원본 사이즈 조정$data = $view[rich_content];preg_match_all("/<img\s+name='target_resize_image\[\]' onclick='image_window\(this\)'.*src=\"(.*)\"/iUs", $data, $matchs);for ($i=0; $i<count($matchs[1]); $i++) {    $match = $matchs[1][$i];    if (strstr($match, $g4[url])) { // 웹에디터로 첨부한 이미지 뿐 아니라 다양한 상황을 고려함.        $path = str_replace($g4[url], "..", $match);    } elseif (substr($match, 0, 1) == "/") {        $path = $_SERVER[DOCUMENT_ROOT].$match;    } else {        $path = $match;    }    $size = @getimagesize($path);    if ($size[0] && $size[1]) {        $match = str_replace("/", "\/", $match);        $match = str_replace(".", "\.", $match);        $match = str_replace("+", "\+", $match);        $pattern = "/(onclick=[\'\"]{0,1}image_window\(this\)[\'\"]{0,1}) (.*)(src=\"$match\")/iU";        $replacement = "onclick='image_window(this, $size[0], $size[1])' $2$3";        if ($size[0] > $board[bo_image_width])            $replacement .= " width=\"$board[bo_image_width]\"";        $data = preg_replace($pattern, $replacement, $data);    }}$view[rich_content] = $data;$view[rich_content] = preg_replace_callback("/\[code\](.*)\[\/code\]/iU", "_preg_callback", $view[rich_content]);
//include_once("$board_skin_path/config.php");
//include_once "$g4[path]/thumbEngine/dq_thumb_engine2.php";

$etc7_exp=explode("|" , $view[wr_7]);$etc7_exp00 = $etc7_exp[0];   $etc7_exp01 = $etc7_exp[1];$etc7_exp02 = $etc7_exp[2];   $etc7_exp03 = $etc7_exp[3];$etc7_exp04 = $etc7_exp[4];   $etc7_exp05 = $etc7_exp[5];$etc7_exp06 = $etc7_exp[6];   $etc7_exp07 = $etc7_exp[7];$etc7_exp08 = $etc7_exp[8];   $etc7_exp09 = $etc7_exp[9];$etc7_exp10 = $etc7_exp[10];  $etc7_exp11 = $etc7_exp[11];$etc7_exp12 = $etc7_exp[12];  $etc7_exp13 = $etc7_exp[13];$etc7_exp14 = $etc7_exp[14];  $etc7_exp15 = $etc7_exp[15];$etc7_exp16 = $etc7_exp[16];

$etc9_exp = explode("|",$view[wr_9]);$etc9_exp00 = $etc9_exp[0];   $etc9_exp01 = $etc9_exp[1];$etc9_exp02 = $etc9_exp[2];   $etc9_exp03 = $etc9_exp[3];$etc9_exp04 = $etc9_exp[4];   $etc9_exp05 = $etc9_exp[5];$etc9_exp06 = $etc9_exp[6];   $etc9_exp07 = $etc9_exp[7];$etc9_exp08 = $etc9_exp[8];   $etc9_exp09 = $etc9_exp[9];$etc9_exp10 = $etc9_exp[10];  $etc9_exp11 = $etc9_exp[11];$etc9_exp12 = $etc9_exp[12];  $etc9_exp13 = $etc9_exp[13];$etc9_exp14 = $etc9_exp[14];  $etc9_exp15 = $etc9_exp[15];$etc9_exp16 = $etc9_exp[16];  $etc9_exp17 = $etc9_exp[17];$etc9_exp18 = $etc9_exp[18];  $etc9_exp19 = $etc9_exp[19];$etc9_exp20 = $etc9_exp[20];  $etc9_exp21 = $etc9_exp[21];$etc9_exp22 = $etc9_exp[22];  $etc9_exp23 = $etc9_exp[23];$etc9_exp24 = $etc9_exp[24];  $etc9_exp25 = $etc9_exp[25];$etc9_exp26 = $etc9_exp[26];  $etc9_exp27 = $etc9_exp[27];$etc9_exp28 = $etc9_exp[28];  $etc9_exp29 = $etc9_exp[29];$etc9_exp30 = $etc9_exp[30];  $etc9_exp31 = $etc9_exp[31];$etc9_exp32 = $etc9_exp[32];  $etc9_exp33 = $etc9_exp[33];$etc9_exp34 = $etc9_exp[34];  $etc9_exp35 = $etc9_exp[35];$etc9_exp36 = $etc9_exp[36];  $etc9_exp37 = $etc9_exp[37];
$etc13_exp=explode("|" , $view[wr_13]);$etc13_exp00 = $etc13_exp[0];   $etc13_exp01 = $etc13_exp[1];$etc13_exp02 = $etc13_exp[2];   $etc13_exp03 = $etc13_exp[3];$etc13_exp04 = $etc13_exp[4];   $etc13_exp05 = $etc13_exp[5];$etc13_exp06 = $etc13_exp[6];   $etc13_exp07 = $etc13_exp[7];$etc13_exp08 = $etc13_exp[8];   $etc13_exp09 = $etc13_exp[9];$etc13_exp10 = $etc13_exp[10];
$etc22_exp = explode("|",$view[wr_22]);$etc22_exp00 = $etc22_exp[0];   $etc22_exp01 = $etc22_exp[1];$etc22_exp02 = $etc22_exp[2];   $etc22_exp03 = $etc22_exp[3];$etc22_exp04 = $etc22_exp[4];   $etc22_exp05 = $etc22_exp[5];$etc22_exp06 = $etc22_exp[6];   $etc22_exp07 = $etc22_exp[7];$etc22_exp08 = $etc22_exp[8];   $etc22_exp09 = $etc22_exp[9];$etc22_exp10 = $etc22_exp[10];  $etc22_exp11 = $etc22_exp[11];$etc22_exp12 = $etc22_exp[12];  $etc22_exp13 = $etc22_exp[13];$etc22_exp14 = $etc22_exp[14];  $etc22_exp15 = $etc22_exp[15];$etc22_exp16 = $etc22_exp[16];  $etc22_exp17 = $etc22_exp[17];$etc22_exp18 = $etc22_exp[18];  $etc22_exp19 = $etc22_exp[19];$etc22_exp20 = $etc22_exp[20];  $etc22_exp21 = $etc22_exp[21];$etc22_exp22 = $etc22_exp[22];  $etc22_exp23 = $etc22_exp[23];$etc22_exp24 = $etc22_exp[24];  $etc22_exp25 = $etc22_exp[25];$etc22_exp26 = $etc22_exp[26];  $etc22_exp27 = $etc22_exp[27];$etc22_exp28 = $etc22_exp[28];  $etc22_exp29 = $etc22_exp[29];$etc22_exp30 = $etc22_exp[30];  
?>
<style type="text/css">/* defalut */
#auction_view * {margin:0; padding:0;}#auction_view li {list-style:none;}
#auction_view .auto {margin:0 auto;}#auction_view .clr {clear:both; font-size:0px;}
/* bbs view auction */
#bbs_view_auction {clear:both; margin-top:5px; padding:5px 0 0 0; border:1px solid #dddddd; height:100%;}#bbs_view_auction dl {clear:both;}#bbs_view_auction dt {width:120px; padding:3px 0 3px 10px; float:left;}#bbs_view_auction dd {padding:3px 10px 3px 0; float:left;}
#bbs_view_auction dt .t {font-weight:bold; line-height:14px; font-size:12px; color:#505050; font-family:dotum,돋움;}#bbs_view_auction dd .t {line-height:14px; font-size:12px; color:#505050; font-family:dotum,돋움;}
/* bbs view auction2 */
#bbs_view_auction2 {clear:both; margin-top:5px; padding:5px 0 0 0; border:1px solid #dddddd; height:100%;}#bbs_view_auction2 dl {clear:both;}#bbs_view_auction2 dt {width:120px; padding:3px 0 3px 10px; float:left;}#bbs_view_auction2 dd {padding:3px 10px 3px 0; float:left;}
#bbs_view_auction2 dt .t {font-weight:bold; line-height:14px; font-size:12px; color:#505050; font-family:dotum,돋움;}#bbs_view_auction2 dd .p {font-weight:bold; line-height:14px; font-size:12px; color:#ff3300; font-family:dotum,돋움;}#bbs_view_auction2 dd .c {font-weight:bold; line-height:14px; font-size:12px; color:#3a72a9; font-family:dotum,돋움;}#bbs_view_auction2 dd .m {font-weight:bold; line-height:14px; font-size:12px; color:#009520; font-family:dotum,돋움;}
/* bbs view auction3 */
#bbs_view_auction3 {clear:both; margin-top:5px; padding:5px 0 0 0; border:1px solid #dddddd; height:100%;}#bbs_view_auction3 dl {clear:both;}#bbs_view_auction3 dd {padding:3px 10px 3px 10px;}
#bbs_view_auction3 dd .t {line-height:14px; font-size:12px; color:#505050; font-family:dotum,돋움;}
/* bbs view auction4 */
#bbs_view_auction4 {clear:both; margin-top:5px; padding:5px 0 0 0; border:1px solid #dddddd; height:100%;}#bbs_view_auction4 dl {clear:both;}#bbs_view_auction4 dt {width:120px; padding:3px 0 3px 10px; float:left;}#bbs_view_auction4 dd {padding:3px 10px 3px 0; float:left;}
#bbs_view_auction4 dt .t {font-weight:bold; line-height:14px; font-size:12px; color:#505050; font-family:dotum,돋움;}#bbs_view_auction4 dd .t {font-weight:bold; line-height:14px; font-size:12px; color:#ff9000; font-family:dotum,돋움;}
/* bbs view auction5 */
#bbs_view_auction5 {clear:both; margin-top:5px; padding:5px 0 0 0; border:1px solid #dddddd; height:100%;}#bbs_view_auction5 dl {clear:both;}#bbs_view_auction5 dt {width:300px; padding:10px 0 3px 10px; float:left;}#bbs_view_auction5 dd {padding:3px 10px 3px 0; float:left;}
#bbs_view_auction5 dt .t {font-weight:bold; line-height:14px; font-size:12px; color:#505050; font-family:dotum,돋움;}#bbs_view_auction5 dd .t {line-height:14px; font-size:12px; color:#505050; font-family:dotum,돋움;}
/* bbs view auction6 */
#bbs_view_auction6 {clear:both; margin-top:5px; padding:5px 0 0 0; border:1px solid #dddddd; height:100%;}#bbs_view_auction6 dl {clear:both;}#bbs_view_auction6 dt {width:300px; padding:10px 0 3px 10px; float:left;}#bbs_view_auction6 dd {padding:3px 10px 3px 0; float:left;}
#bbs_view_auction6 dt .t {font-weight:bold; line-height:14px; font-size:12px; color:#505050; font-family:dotum,돋움;}#bbs_view_auction6 dd .t {line-height:14px; font-size:12px; color:#505050; font-family:dotum,돋움;}#bbs_view_auction6 dd .p {font-weight:bold; line-height:14px; font-size:12px; color:#ff3300; font-family:dotum,돋움;}#bbs_view_auction6 dd .c {font-weight:bold; line-height:14px; font-size:12px; color:#3a72a9; font-family:dotum,돋움;}#bbs_view_auction6 dd .m {font-weight:bold; line-height:14px; font-size:12px; color:#009520; font-family:dotum,돋움;}
.check_off { FONT-WEIGHT: normal; FONT-SIZE: 9pt; COLOR: #c8c7c8; FONT-FAMILY: "돋움"; TEXT-DECORATION: none; letter-spacing:0px}
.smfont1 {font-size:11px; color:#555555; font-family:dotum,돋움;}.smfont2 {font-size:12pt; font-weight:bold; line-height:14px; color:#009520; font-family:dotum,돋움;}.smfont4 { font-size:14pt; color:5c5c5c; font-weight:bold; font-family:맑은 고딕, 돋움;}.smfont66 { font-size:14pt; color:#fd4a70; font-weight:bold; font-family:맑은 고딕, 돋움;}.smfont44 { font-size:11pt; color:#fd4a70; font-weight:bold; font-family:맑은 고딕, 돋움;}.smfont55 { font-size:11pt; color:#51463a; font-weight:bold; font-family:맑은 고딕, 돋움;}.smfont5 { font-size:14pt; color:black; font-weight:bold; font-family:맑은 고딕, 돋움;}.smfont6 { font-size:14pt; color:#3366cc; font-weight:bold; font-family:맑은 고딕, 돋움;}.smfont7 { font-size:12pt; color:black; font-weight:bold; font-family:맑은 고딕, 돋움;}
.smfont77 { font-size:12pt; color:#413dff; font-weight:bold; font-family:맑은 고딕, 돋움;}.smfont78 { font-size:12pt; color:#ff2d42; font-weight:bold; font-family:맑은 고딕, 돋움;}.smfont79 { font-size:12pt; color:#eb6137; font-weight:bold; font-family:맑은 고딕, 돋움;}
.smfont8 { font-weight:bold;font-size:9pt; color:#3a72a9; font-family:맑은 고딕, 돋움;}.smfont9 {font-size:12pt; font-weight:bold; line-height:14px; color:#3a72a9; font-family:dotum,돋움;}.current { font:bold 11px tahoma; color:#E15916; }.smfont10 {font-size:11px; color:#E15916; font-family:dotum,돋움;}</style>
<script>  function chgImg( imgname, dnimgname, imgdesc ) {    var LureExp = /<br>/gi;    document.gallery_img.src=imgname;      }</script><script> function obxTabPage(sizex , sizey, cssHead){    if(!cssHead) this.cssHead='';    else this.cssHead=cssHead;    document.write(        '<table cellpadding="0" cellspacing="0" style="table-layout:fixed;padding:1;height:'+sizey+';width:'+sizex+'">' +        '<tr><td class=TP_'+this.cssHead+'_NCELL width=*>&nbsp;</td></tr>'+        '<tr><td class=TP_'+this.cssHead+'_CONTENT1 width=100%> </td></tr>'+         '</table>'    );    this.height=sizey;    this.width=sizex;    var tables=document.getElementsByTagName("table"); this.table=tables[tables.length-1];    this.titleRow=this.table.rows[0];    this.nullCell = this.titleRow.cells[0];    this.contentRow = this.table.rows[1];    this.contentCell = this.contentRow.cells[0];    this.item= new Object();
    this.length=0;
    var re=new RegExp("\\bobxtp=(\\w+)\\b",'i');    if(location.search.match(re)) this.defaultView = RegExp.$1;
    this.addStart= function (id,title,idx,action) {
  var iIndex=(idx) ? idx-1 : this.length;                this.item[id] = this.titleRow.insertCell(iIndex);
  this.item[id].className='TP_'+this.cssHead+'_CELL';        this.item[id].parentObject=this;        this.item[id].onclick=Function("this.parentObject.show('"+id+"');");        if(action) this.item[id].action = action;        this.item[id].height=25;        this.item[id].innerHTML=title;        document.write('<div style="display:none;width:100%;height:100%">');  var divs=document.getElementsByTagName("div");        this.item[id].content = divs[divs.length-1];        this.item[id].content.className='TP_'+this.cssHead+'_CONTENT2';        this.DrawingID=id;        this.length++;        this.contentCell.colSpan=this.length+1;
    }        this.addEnd = function () {        document.write("</div></div>");        this.contentCell.appendChild(this.item[this.DrawingID].content);        if(!this.LastShownItemID) this.show(this.DrawingID,1);        else if(this.defaultView==this.DrawingID) this.show(this.defaultView,1);    }    this.show = function (id,runtime){
        if (this.LastShownItemID) this.hide(this.LastShownItemID);        this.LastShownItemID = id;        this.item[id].className='TP_'+this.cssHead+'_SCELL';        this.item[id].content.style.display='';        if(this.item[id].action) {            try{eval(this.item[id].action);}catch(e){}}    }
    this.hide = function (id){        this.item[id].className='TP_'+this.cssHead+'_CELL';;        this.item[id].content.style.display="none";    }} </script><script language="JavaScript"><!--function change(html){  text1.innerHTML=html}//--></script>
<? if ($board[bo_source]) { ?><? $copy_url = set_http("{$g4[url]}/{$g4[bbs]}/board.php?bo_table={$bo_table}&wr_id={$wr_id}"); ?><script type="text/javascript" src="<?=$g4['path']?>/js/autosourcing.open.compact.js&quot;></script><script type="text/javascript">AutoSourcing.setTemplate("<p style='margin:11px 0 7px 0;padding:0'> <a href='{link}' target='_blank'> [출처] {title} - {link}</a> </p>");AutoSourcing.setString(<?=$wr_id?> ,"<?=$config[cf_title];//$view[wr_subject]?>", "<?=$view[wr_name]?>", "<?=$copy_url?>");AutoSourcing.init( 'view_%id%' , true);</script><? } ?><!-- 게시글 보기 시작 --></p><table width="66%" border="0" cellspacing="0" cellpadding="0">    <tr><td width="100%">            <p align="center"><font class="smfont4"><?=$view[wr_subject]?></font></p>        </td></tr></table><table width="66%">    <tr height=35>        <td width="909">            <table width="813" border="0" cellspacing="0" cellpadding="0" align="center" height="20">                <tr><td>&nbsp;</td></tr>                <tr><td height="10">                        <table width="813" border="0" cellspacing="0" cellpadding="0">                            <tr>                                <td width="7">&nbsp;</td>                                <td width="796" valign="top" bgcolor=#ffffff>                                    <table width="570" border="0" cellspacing="0" cellpadding="0" align="center">                                        <tr><td><? if ($view[file][0][view])  {?>                                                <table width="570">                                                    <tr valign="top" align="center">                                                        <td width="560">                                                                      <table width="550" border="0" cellspacing="0" cellpadding="0">                                                                <tr><td valign="top">  <?         for ($i=0; $i<=9; $i++) {             $image[$i] = "$g4[path]/data/file/$bo_table/".$view[file][$i][file];
    $thumimg[$i]="<img src =$image[$i] width=140 height=120 border=0 onclick=\"view('$image[$i]')\" style=cursor:hand>";  }        ?></td>  </tr>  <tr>    <td valign="top">
<!--//--> <table width="570" border="0" cellspacing="0" cellpadding="0">  <tr>    <td width="570" height="440" background="<?=$board_skin_path?>/img/photo_bg.gif&quot; align=&quot;center&quot; valign=&quot;top&quot;>       <table cellpadding="0" cellspacing="0">       <tr> <td bgcolor="ffffff">      <? if ($view[file][0][file])  {?><img src=<?=$image[0]?> name=gallery_img width=530 height=400 border=0 style=vertical-align: middle;cursor:pointer; onClick="OpenWin('<?=$board_skin_path?>/slideshow.php?bo_table=<?=$bo_table?>&amp;wr_id=<?=$wr_id?>',900,570); return false;&quot; border=0 value=0>                                                                                   <? } else {?>                                      <img src="<?=$board_skin_path?>/img/noimge.gif" border=0>                                                                                    <? } ?></a>                                                                                           </td></tr></table></td></tr></table>                                                            <!--//-->                                                                 </td></tr>                                                    <tr><td valign="top">
                                                            <!--//-->                                                            <table align="center">                                                                <tr>                                                                    <td><?=$view[file][0][content]?></td>                                                               </tr> </table>                                                       <!--//-->                                                  </td> </tr>                                                       <tr>                                                        <td valign="top" align="center">                                                             <!--//-->
                                                        </td>   </tr></table></td></tr></table>                                </td></tr></table>
                        <? } else {?>       <table width="570" height="440" align="center">                            <tr>                                <td width="570" height="440" background="<?=$board_skin_path?>/img/photo_bg.gif" align="center" valign="middle">            (사이즈 530 * 400)</td>                            </tr>                        </table>
                               <? }?>            </td>                    <td width="10" height="1022">&nbsp;</td>                </tr>            </table>            <p align="center"><? if ($view[file][0][file]) {?>                                      <a href=# <? echo "onMouseOver=\"chgImg( '".$image[0]."','".$image[0]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[0]?>" width="50" height="43" align="absmiddle" border="0"></a>            <? }?>            <? if ($view[file][1][file]) {?>                                      <a href=# <? echo "onMouseOver=\"chgImg( '".$image[1]."','".$image[1]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[1]?>" width="50" height="43" align="absmiddle" border="0"></a>            <? }?>            <? if ($view[file][2][file]) {?>                                      <a href=# <? echo "onMouseOver=\"chgImg( '".$image[2]."','".$image[2]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[2]?>" width="50" height="43" align="absmiddle" border="0"></a>            <? }?>            <? if ($view[file][3][file]) {?>                                      <a href=# <? echo "onMouseOver=\"chgImg( '".$image[3]."','".$image[3]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[3]?>" width="50" height="43" align="absmiddle" border="0"></a>            <? }?>  </p>            <p align="center">&nbsp;</p>            <p align="right"><a href="<?=$list_href?>"><img src="<?=$board_skin_path?>/img/but_list.gif" width="60" height="21" border="0" /></a><img src="<?=$board_skin_path?>/img/tom5.gif" width="5" height="21" /><a href="javascript:btn_print();"><img src="<?=$board_skin_path?>/img/but_print.gif" width="60" height="21"  border="0" /></a><img src="<?=$board_skin_path?>/img/tom5.gif" width="1" height="21" /> <a href="javascript:" onclick="win_scrap('<?=$scrap_href?>')"><img src='<?=$board_skin_path?>/img/but_zzim.gif' border='0' alt='찜하기'></a><img src="<?=$board_skin_path?>/img/tom5.gif" width="5" height="21" /></p>            <p align="center">기본정보</p>            <table width="740" border="0" align="center" cellpadding="0" cellspacing="1" height="154">                <tr>                    <td width="66" height="23"><img src="<?=$board_skin_path?>/img/m42.gif"></td>                    <td class="bold" width="671" height="23" colspan="3"><font class="smfont44"><?=$view[wr_subject]?></font></td>                </tr>                <tr>                    <td colspan="4" height="1" bgcolor="eee4e3" width="738"></td>                </tr>                <tr>                    <td width="66" height="15"><img src="<?=$board_skin_path?>/img/m8.gif"></td>                    <td width="246" height="32" class="bold"><font class="smfont44"><?=$view[wr_4]?></font></td>                    <td width="123" height="32" class="bold"><img src="<?=$board_skin_path?>/img/m5.gif"></td>                    <td width="300" height="32" class="bold"><?if($etc7_exp02 == "월세(임대)") {?><img src='<?=$board_skin_path?>/img/icon_monthly.gif' border=0 align=absmiddle alt='보증금/월세'> <font class="smfont44"><?=$etc7_exp03?>/<?=$etc7_exp04 ?></font>                        <? } else {    }?>                        <?if($etc7_exp01 == "전세") { ?><img src='$board_skin_path/img/icon_deposit.gif' border=0 align=absmiddle alt='전세가'><font class="smfont55"><?=$etc7_exp05 ?>만원</font>                        <?  }?>                    </td></tr>                <tr>                    <td colspan="4" height="1" bgcolor="eee4e3" width="738"></td>                </tr>                <tr><td width="66"><img src="<?=$board_skin_path?>/img/m6.gif"></td>                    <td width="246"><font class="smfont55"><?=$etc7_exp16?>만원</font></td>                    <td width="123"><img src="<?=$board_skin_path?>/img/m9.gif"></td>                    <td width="300"><font class="smfont55">전체<?=$etc13_exp04?></font>층 중 <font class="smfont55"><?=$etc13_exp05?></font>층</td>                </tr>                <tr> <td colspan="4" height="1" bgcolor="eee4e3" width="738"></td> </tr>                <tr><td width="66"><img src="<?=$board_skin_path?>/img/m12.gif"></td>                    <td width="246">방:<font class="smfont44"><?=$etc13_exp02?></font>개 욕실:<font class="smfont44"><?=$etc13_exp03?></font>개</td>                    <td width="123"><img src="<?=$board_skin_path?>/img/m11.gif"></td>                    <td width="300">                        <?      $in_date = substr($view[wr_11],0,4)."년 ".sprintf("%2d",substr($view[wr_11],4,2))."월 ".sprintf("%2d",substr($view[wr_11],6,2))."일";   ?>                        <?=$in_date?> /<?=$etc13_exp00?></td>                </tr>            </table>            <p align="center">옵션정보<!--//--></p>            <table width="740" border="0" cellspacing="0" cellpadding="0" align="center">                <tr><td width="80"><img src="<?=$board_skin_path?>/img/option_01.gif"></td>                    <td width="667">                        <table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr> <td width="16%"><? if ($etc9_exp00 == "냉장고") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 냉장고<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>냉장고</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp01 == "에어컨") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 에어컨<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>에어컨</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp02 == "TV") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> TV<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>TV</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp03 == "전자렌지") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 전자렌지<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>전자렌지</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp04 == "세탁기") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 세탁기<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>세탁기</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp05 == "정수기") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 정수기<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>정수기</span><? } ?></td>                            </tr> </table> </td></tr>                <tr> <td colspan="2" height="1" bgcolor="eee4e3"></td> </tr>                <tr> <td><img src="<?=$board_skin_path?>/img/option_02.gif"></td>                    <td> <table width="97%" border="0" align="center" cellpadding="0" cellspacing="0">                            <tr> <td width="16%"><? if ($etc9_exp06 == "붙박이장") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 붙박이장<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>붙박이장</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp07 == "옷장") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 옷장<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>옷장</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp08 == "책상") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 책상<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'> 책상</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp09 == "의자") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 의자<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>의자</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp10 == "침대") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 침대<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'>침대</span><? } ?></td>                                <td width="16%"><? if ($etc9_exp11 == "신발장") { ?><img src="<?=$board_skin_path?>/img/check_on.gif" align="absmiddle"> 신발장<? }else{ ?> <img src="<?=$board_skin_path?>/img/check_off.gif" align="absmiddle"> <span class='check_off'> 신발장<? } ?></td>                            </tr></table></td></tr>                             <tr><td colspan="2" height="1" bgcolor="eee4e3"></td> </tr>            </table>            <p align="center"><!--//--></p>        </td>    </tr></table>
<div style="height:43px; clear:both;">    <div style="margin-top:10px; float:left;">        <? if ($prev_href) { echo "<a href=\"$prev_href\" title=\"$prev_wr_subject\"><img src='$board_skin_path/img/prevbtn_oneroom.gif' border='0' align='absmiddle'></a>&nbsp;"; } ?>    <? if ($next_href) { echo "<a href=\"$next_href\" title=\"$next_wr_subject\"><img src='$board_skin_path//img/nextbtn_oneroom.gif' border='0' align='absmiddle'></a>&nbsp;"; } ?>
     <? if ($list_href) { ?>        <a href="<?=$list_href?>&quot;><img src="<?=$board_skin_path?>/img/listbtn_oneroom.gif" align="absmiddle" border='0'></a>        <? } ?>
&nbsp;&nbsp;&nbsp;&nbsp;
        <? if ($is_admin) { ?>        <? if ($copy_href) { echo "<a href=\"$copy_href\"><img src='$board_skin_path/img/btn_copy.gif' border='0' align='absmiddle'></a> "; } ?>    <? if ($move_href) { echo "<a href=\"$move_href\"><img src='$board_skin_path/img/btn_move.gif' border='0' align='absmiddle'></a> "; } ?>
    <? if ($search_href) { echo "<a href=\"$search_href\"><img src='$board_skin_path/img/btn_list_search.gif' border='0' align='absmiddle'></a> "; } ?>    <? echo "<a href=\"$list_href\"><img src='$board_skin_path/img/btn_list.gif' border='0' align='absmiddle'></a> "; ?> <? if ($update_href) { echo "<a href=\"$update_href\"><img src='$board_skin_path/img/btn_modify.gif' border='0' align='absmiddle'></a> "; } ?> <?// if ($update_href) { echo "<a href='$g4[bbs_path]/write.php?w=u&bo_table=land&wr_id={$wr_id}&type={$etc7_exp08}'><img src='$board_skin_path/img/btn_modify.gif' border='0' align='absmiddle'></a> "; } ?>    <? if ($delete_href) { echo "<a href=\"$delete_href\"><img src='$board_skin_path/img/btn_delete.gif' border='0' align='absmiddle'></a> "; } ?>    <?// if ($reply_href) { echo "<a href=\"$reply_href\"><img src='$board_skin_path/img/btn_reply.gif' border='0' align='absmiddle'></a> "; } ?>    <? if ($write_href) { echo "<a href=\"$write_href\"><img src='$board_skin_path/img/btn_write.gif' border='0' align='absmiddle'></a> "; } ?><? } ?>
    </div>
    <!-- 링크 버튼 -->    <div style="margin-top:10px; float:right;">    <?=$link_buttons?>    </div></div>
<br> <script type="text/javascript">function btn_print() {    win_open("<?=$board_skin_path?>/print.php?bo_table=<?=$bo_table?>&amp;wr_id=<?=$wr_id?>&quot;, &quot;print&quot;, &quot;width=900,height=700,scrollbars=yes&quot;);}        </script>        <script language="JavaScript" src="<?="$g4[path]/js/board.js"?>">        </script>
        <script language="JavaScript">function report_go() {    if (confirm("허위신고시, 신고자는 모든 서비스 이용에 제한이 될 수 있으니 신중히 생각하시고 신고하여 주십시요.\n\n정말 신고 하시겠습니까?"))     hiddenframe.location.href = "<?=$g4[bbs_path]?>/report.php?bo_table=<?=$bo_table?>&wr_id=<?=$wr_id?>"; }
function re_report_go() {    if (confirm("신중히 생각하시고 취소하여 주십시요.\n\n정말 신고 취소하시겠습니까?"))     hiddenframe.location.href = "<?=$g4[bbs_path]?>/re_report.php?bo_table=<?=$bo_table?>&wr_id=<?=$wr_id?>"; }        </script>

답변 2개 / 댓글 1개

많은 도움이 되었습니다. 감사합니다.

배추빌더 기능을 그누보드5로 옴기고 싶다는 말씀이신가요?

답변에 대한 댓글 1개

아니요....배추 베이직 게시판의 내용 넣는 곳에 여러 필드? 내용?을 넣으려고 합니다.

답변을 작성하려면 로그인이 필요합니다.