게시판열었을때 내용과 제목 사이에 공백좀 없앨 수 있을까요?

게시판열었을때 내용과 제목 사이에 공백좀 없앨 수 있을까요?

QA

게시판열었을때 내용과 제목 사이에 공백좀 없앨 수 있을까요?

본문

게시판열었을때 내용과 제목 사이에 공백좀 없앨 수 있을까요?




<?
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,돋움;}
/**입찰페이지 금액잇풋 스타일**/
.input_ipchal_price {
 width:120px;
 height:20px;
 border-width:1;
 text-decoration: none;
 text-align:right;
 border: 5px solid #0899c8;
 background-repeat:no-repeat;
 padding:5px 5px 0 0;
 font-size:10pt; 
 color:black; 
 font-weight:bold; 
 font-family:맑은 고딕, 돋움;
}
.input_ipchal_price2 {
 width:30px;
 height:20px;
 border-width:1;
 text-decoration: none;
 text-align:right;
 border: 5px solid #0899c8;
 background-repeat:no-repeat;
 padding:5px 5px 0 0;
 font-size:10pt; 
 color:black; 
 font-weight:bold; 
 font-family:맑은 고딕, 돋움;
}
.input_ipchal_price3 {
 width:289px;
 height:20px;
 border-width:1;
 text-decoration: none;
 text-align:right;
 border: 5px solid #0899c8;
 background-repeat:no-repeat;
 padding:5px 5px 0 0;
 font-size:10pt; 
 color:black; 
 font-weight:bold; 
 font-family:맑은 고딕, 돋움;
}
.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=*> </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"></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>
<? } ?>
<? 
// 관련글 나타내기 
//include_once("$board_skin_path/writting.php"); 
?>
<!-- 게시글 보기 시작 -->
</p>
<table width="66%" border="0" cellspacing="0" cellpadding="0">
    <tr>   <td width="100%">
            <p align="center"><font class="smfont4"><?=$view[wr_4]?></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">
                <tr> <td><img src="<?=$g4[path]?>/image/serch_top.gif" width="813" height="11" /></td></tr>
                <tr><td> <table width="813" border="0" cellspacing="0" cellpadding="0">
                            <tr><td width="7"><img src="<?=$g4[path]?>/image/landmn_left.gif" width="7" height="453" /></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" align="center" valign="middle">
 
                                               <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?>&wr_id=<?=$wr_id?>',900,570); return false;" 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"><img src="<?=$g4[path]?>/image/landmn_right.gif" width="10" height="453" /></td> </tr> </table>
            <? 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>
            <? }?>
            <? if ($view[file][4][file]) {?>
             <a href=# <? echo "onMouseOver=\"chgImg( '".$image[4]."','".$image[4]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[4]?>" width="50" height="43" align="absmiddle" border="0"></a>
            <? }?>
            <? if ($view[file][5][file]) {?>
             <a href=# <? echo "onMouseOver=\"chgImg( '".$image[5]."','".$image[5]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[5]?>" width="50" height="43" align="absmiddle" border="0"></a>
            <? }?>
            <? if ($view[file][6][file]) {?>
             <a href=# <? echo "onMouseOver=\"chgImg( '".$image[6]."','".$image[6]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[6]?>" width="50" height="43" align="absmiddle" border="0"></a>
            <? }?>
            <? if ($view[file][7][file]) {?>
            <a href=# <? echo "onMouseOver=\"chgImg( '".$image[7]."','".$image[7]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[7]?>" width="50" height="43" align="absmiddle" border="0"></a>
            <? }?>
            <? if ($view[file][8][file]) {?>
              <a href=# <? echo "onMouseOver=\"chgImg( '".$image[8]."','".$image[8]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[8]?>" width="50" height="43" align="absmiddle" border="0"></a>
            <? }?>
            <? if ($view[file][9][file]) {?>
             <a href=# <? echo "onMouseOver=\"chgImg( '".$image[9]."','".$image[9]."','".ereg_replace("(\r\n|\n|\r)", "<br>", strip_tags($content) )."' );\"" ?>> <img src="<?=$image[9]?>" width="50" height="43" align="absmiddle" border="0"></a>
            <? }?>   
            <p align="center"> </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>

이 질문에 댓글 쓰기 :

답변 1

답변을 작성하시기 전에 로그인 해주세요.
전체 123,658 | RSS
QA 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1404호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT