html 좌측메뉴 수정 문의 드립니다.
본문
게시판에 게시글이 없으면 좌측메뉴 보증금 메뉴가 메인화면 아래쪽까지 내려가 버립니다.
무엇을 수정해야 할가요? (게시글이 있으면 게시글 상하 길이 때문에 괞찬습니다)
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once(G5_LIB_PATH.'/latest_wr.lib.php');
include_once("$board_skin_path/skin.exe.php");
$p_four = explode("|",$list[$i][wr_4]);
$four01 = $p_four[0];
$four02 = $p_four[1];
$four03 = $p_four[2];
중간생략
$four57 = $p_four[56];
$four58 = $p_four[57];
$four59 = $p_four[58];
$four60 = $p_four[59];
$mod = $board[bo_gallery_cols];
$td_width = (int)(100 / $mod);
//if ($is_category) $colspan++;
if ($is_checkbox) $colspan++;
if ($is_good) $colspan++;
if ($is_nogood) $colspan++;
function get_bo_n_option($bo_n='')
{
global $g5, $board;
$arr = explode("|", $board[$bo_n]); // 구분자가 | 로 되어 있음
$str = "";
for ($i=0; $i<count($arr); $i++)
if (trim($arr[$i]))
$str .= "<option value='$arr[$i]'>$arr[$i]</option>\n";
return $str;
}
// 카테고리 분할
if ($is_category == true) {
$bo_7_option = get_bo_n_option('bo_7'); // SELECT OPTION 태그로 넘겨받음
$bo_8_option = get_bo_n_option('bo_8'); // SELECT OPTION 태그로 넘겨받음
$bo_9_option = get_bo_n_option('bo_9'); // SELECT OPTION 태그로 넘겨받음
$bo_5_option = get_bo_n_option('bo_5'); // SELECT OPTION 태그로 넘겨받음
}
add_stylesheet('<link rel="stylesheet" href="'.$board_skin_url.'/style.css">', 0);
?>
<script language="Javascript">
function mov()
{
var f = document.fwrite;
location="board.php?bo_table=<?=$bo_table?>&wr_9="+f.wr_9.value+"&wr_8="+f.wr_8.value+"&wr_7="+f.wr_7.value+"&wr_5="+f.wr_5.value+"&wr_2="+f.wr_2.value;
}
</script>
<!--<link rel='stylesheet' href='<?=$board_skin_path?>/style.css' type='text/css'> 404error-->
<link rel='stylesheet' href='<?=$board_skin_url?>/style.css' type='text/css'>
<style type="text/css">
.board_top {width:100%; height:30px;}
.board_top .board_title{ float:left; margin-left:5px;margin-top:3px; background:url(<?=$board_skin_path?>/img/point_title.gif) no-repeat left;}
.board_top .board_title a{ margin:0px 15px 0 10px; color:#474747; font:normal 12pt 돋움; font-weight:bold;}
#b8x8 {width:100%; position:relative;}
#b8x8 #01 {width:8px; line-height:8px; background:url(<?=$g5['path']?>/img/b8X8/01.gif); float:left;}
#b8x8 #02 {width:8px; line-height:8px; background:url(<?=$g5['path']?>/img/b8X8/02.gif); float:right;}
#b8x8 #03 {width:8px; line-height:8px; background:url(<?=$g5['path']?>/img/b8X8/03.gif); float:left;}
#b8x8 #04 {width:8px; line-height:8px; background:url(<?=$g5['path']?>/img/b8X8/04.gif);}
#b8x8 #05 {height:8px; background:url(<?=$g5['path']?>/img/b8X8/05.gif); float:left;}
#b8x8 #06 {width:8px; background:url(<?=$g5['path']?>/img/b8X8/06.gif); float:left; float:left;}
#b8x8 #07 {height:8px; background:url(<?=$g5['path']?>/img/b8X8/07.gif); float:left;}
#b8x8 #08 {width:8px; background:url(<?=$g5['path']?>/img/b8X8/08.gif);}
#catitle {margin:8px 4px 7px 10px;}
#calink {width:100%; margin-right:7px; position:relative;}
#calink #name1 {margin:8px 0px 0 10px; margin-top:4px; width:68px; float:left; letter-spacing:-1pt}
#calink #name2 {margin-top:4px; margin-left:1px;float:right;}
#calink .on a{font-weight:bold; color:#f86e08; font-size:12px; font-family:굴림,돋움;}
#calink .off a{font-size:12px; font-family:굴림,돋움;font-weight:bold;}
#calink .on ahover{font-weight:bold; color:#f86e08; font-size:12px; font-family:굴림,돋움;}
#calink .off ahover{font-weight:bold; color:#f86e08; font-size:12px; font-family:굴림,돋움;}
#snb {height:34px;}
#snb #title{height:46px; padding:8px 14px 0 10px; border-bottom:1px solid #e8e9ed; background:url(<?=$g5['path']?>/img/bg_sub_title.gif);}
#snb ul.{position:relative; list-style:none; float:left;margin:3px; pading:3px;}
#snb ul li {height:auto;margin:0;padding:0;width:100%;font-size:12px;border-bottom:1px solid #f3f3f3;}
#snb ul li span {margin:0;padding:4px 4px 4px 7px;display:block;position:relative;}
#snb ul .SubMenuOn a{padding:3px 0 0 7px;font-weight:bold; color:#1d1d1d; font-size:12px; font-family:굴림,돋움; background:url(<?=$g5['path']?>/img/arrow_02.gif) no-repeat left;}
#snb ul .SubMenuOff a{color:#646d72; font-size:12px; font-family:굴림,돋움;}
#snb ul .line{height:1px; font-size:1px; background:#f3f3f3;}
#snb ul li ul {border:1px solid #e8e9ed; margin:0 0px 0 0px; background:fdfdfd;}
#snb ul li ul li {border:0; margin:10px 0 3px 10px;}
#snb ul li ul .off a{color:#818e96; font-weight:normal;}
#snb ul li ul .on a{color:#1d1d1d; font-weight:normal;}
</style>
<!--<script type="text/javascript" src="<?=$g5[path]?>/js/jquery.js"></script> -->
<script type="text/javascript" src="<?php echo $g5[path]?>/js/jquery-1.8.3.min.js"></script>
<!--전체테이블-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="180" valign="top">
<!-- 좌측메뉴시작-->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td valign="top" width=180 height=45>
<div id="snb"><a href="./board.php?bo_table=<?=$bo_table?>"><img src="<?=$board_skin_url?>/img/l_title.gif" border=0></a>
<!--<img src="<?=$g4['path']?>/<?=$gr_id?>/img/title_sub14.gif">-->
<?
// 카테고리 뽑아오기
$cate_print = "";
$cate_print .="
<div class=\"wireframemenu\">
<ul class=\"ca\">";
$cate = explode("|", $board[bo_category_list]);
for ($i=0; $i<count($cate); $i++){
if ($sca == $cate[$i]) { $ca="class=on"; } else {$ca="class=off";}
if (trim($cate[$i])){
$cate_print .="<li {$ca}><a href=\"{$g5['bbs_path']}/board.php?bo_table={$bo_table}&sca={$cate[$i]}\">".$cate[$i]."</a></li>";
}
}
$cate_print .= "
</ul>
<ul class=\"ca\"></ul>
</div>
";
// 메뉴 이미지 검사
if($bo_table =="$bo_table"){
$on = "on";
} else {
$on = "off";
}
?>
<?
$line_aticle = 1; // 한줄당 출력 개수
$gooin_bo_table = $bo_table; //게시판명
$ms = " select * from g5_board where bo_table = '$gooin_bo_table' order by bo_category_list and bo_5 ";
//echo $ms;
//$rs = mysql_query($ms);
$rs = sql_query($ms);
//while ($dt=mysql_fetch_array($rs)) {
while ($dt=sql_fetch_array($rs)) {
$cat_dt = explode("|", $dt[bo_category_list]);
$ex_bo_dt = explode("|", $dt[bo_5]);
?>
<table width='100%' cellpadding='0' cellspacing='0' border='0'>
<tr>
<?
for ($i=0; $i<count($ex_bo_dt); $i++) {
$bo_dt3 = explode("^", $ex_bo_dt[$i]);
if($i%$line_aticle==0) {
echo "</tr><tr>";
}
if($cat_dt[$i]==$sca){
$sub_on = "on";
} else {
$sub_on = "off";
}
?>
<td valign=top>
<table width='100%' cellpadding='0' cellspacing='0' border='0'>
<tr>
<td height=28 style="padding-right:10px;"><div id="calink">
<div id="name1" class="<?=$sub_on?>"> <a href="<?=$g5['path']?>/bbs/board.php?bo_table=<?=$gooin_bo_table?>&sca=<?=urlencode($cat_dt[$i])?>&wr_9=<?=$wr_9?>&wr_8=<?=$wr_8?>&wr_7=<?=$wr_7?>&wr_5=<?=$wr_5?>">
<?=$cat_dt[$i]?>
</a></div>
<!--<div id="name1" class="<?=$sub_on?>"> <a href="<?=$g5['path']?>/bbs/board.php?bo_table=<?=$gooin_bo_table?>&sca=<?=$cat_dt[$i]?>&wr_9=<?=$wr_9?>&wr_8=<?=$wr_8?>&wr_7=<?=$wr_7?>&wr_5=<?=$wr_5?>">
<?=$cat_dt[$i]?>
</a></div>-->
<!--<div id="name1" class="<?=$sub_on?>"> <a href="<?=$g5['path']?>/bbs/board.php?bo_table=<?=$gooin_bo_table?>&sca=<?=$cat_dt[$i]?>">
<?=$cat_dt[$i]?>
</a></div>-->
<? for ($q=0; $q<count($bo_dt3); $q++) { ?>
<div id="name2"> <a href="<?=$g5['path']?>/bbs/board.php?bo_table=<?=$gooin_bo_table?>&sca=<?=$cat_dt[$i]?>&wr_9=<?=$wr_9?>&wr_8=<?=$wr_8?>&wr_7=<?=$wr_7?>&wr_5=<?=$bo_dt3[$q]?>">
<? if ($bo_dt3[$q] == '매매') {
echo "<img src='$board_skin_url/img/icon_ca01.gif' width='14' height='14' border=0 align='absmiddle' alt='매매' title='매매'>";
}
else if ($bo_dt3[$q] == '전세') {
echo "<img src='$board_skin_url/img/icon_ca02.gif' width='14' height='14' border='0' alt='전세'>";
}
else if ($bo_dt3[$q] == '월세') {
echo "<img src='$board_skin_url/img/icon_ca03.gif' width='14' height='14' border='0' alt='월세'>";
}
else if ($bo_dt3[$q] == '임대') {
echo "<img src='$board_skin_url/img/icon_ca04.gif' width='14' height='14' border='0' alt='임세'>";
}
?>
</a> </div>
<? } ?>
</div></td>
</tr>
<tr>
<td height="1" colspan="2" bgcolor="#e9e9e9"></td>
</tr>
</table></td>
<? } ?>
</tr>
</table>
<? } ?>
<br>
<!-- 좌측 보증금,월세 -->
<table>
<tr>
<td valign="top"><table id="hz">
<tr>
<td colspan="2" align="center">보 증 금</td>
</tr>
<tr>
<td><input type="button" value=" 100만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('100').siblings('.btn_submit').click();"></td>
<td><input type="button" value=" 200만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('200').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value=" 300만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('300').siblings('.btn_submit').click();"></td>
<td><input type="button" value=" 400만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('400').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value=" 500만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('500').siblings('.btn_submit').click();"></td>
<td><input type="button" value="1,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('1,000').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="1,500만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('1,500').siblings('.btn_submit').click();"></td>
<td><input type="button" value="2,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('2,000').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="2,500만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('2,500').siblings('.btn_submit').click();"></td>
<td><input type="button" value="3,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('3,000').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="4,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('4,000').siblings('.btn_submit').click();"></td>
<td><input type="button" value="5,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('5,000').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="6,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('6,000').siblings('.btn_submit').click();"></td>
<td><input type="button" value="7,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('7,000').siblings('.btn_submit').click();"></td>
</tr>
</table></td>
</tr>
</table><br><br><br><br>
<!-- 좌측 보증금,월세 -->
</div>
</td></tr></table>
<!--좌측메뉴 끝-->
</td>
<td width="10"> </td>
<td valign="top">
<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td>
<div style="border:10px #F3F3F3 solid; padding:10px;">
<form name="fcategory" method="get">
<input type=hidden name=bo_table value="<?=$bo_table?>">
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr align=center>
<!--<form name="fcategory" method="get">-->
<!--<input type=hidden name=bo_table value="<?=$bo_table?>">-->
<td width="100%">
<select name=wr_5 onchange="location='<?=$category_location?>'+this.form.sca.value+'&wr_9='+this.form.wr_9.value+'&wr_8='+this.form.wr_8.value+'&wr_7='+this.form.wr_7.value+'&wr_5='+this.value;">
<option value=''>
<?//=$board[bo_5_subj]?>물건형태
<option value='매매'>매매</option>
<option value='전세'>전세</option>
<option value='<?=urlencode(월세)?>'>월세</option>
<option value='임대'>임대</option>
</select>
<select name=wr_8 onchange="location='<?=$category_location?>'+this.form.sca.value+'&wr_9='+this.form.wr_9.value+'&wr_8='+this.value+'&wr_7='+this.form.wr_7.value+'&wr_5='+this.form.wr_5.value;">
<option value=''>
<?//=$board[bo_8_subj]?>지역
</option>
<?=$bo_8_option?>
</select>
<select name=sca onchange="location='<?=$category_location?>'+this.value+'&wr_9='+this.form.wr_9.value+'&wr_8='+this.form.wr_8.value+'&wr_7='+this.form.wr_7.value+'&wr_5='+this.form.wr_5.value;">
<option value=''>종류</option>
<?=$category_option2?>
</select>
<select name=wr_9 onchange="location='<?=$category_location?>'+this.form.sca.value+'&wr_9='+this.value+'&wr_8='+this.form.wr_8.value+'&wr_7='+this.form.wr_7.value+'&wr_5='+this.form.wr_5.value;">
<option value=''>
<?//=$board[bo_7_subj]?>아파트명
</option>
<?
$apt_table = 'apt_info'; // 아파트정보등록게시판
//$sql = mysql_query(" select distinct wr_subject from $g5[write_prefix]$apt_table where wr_subject != '' ");
$sql = sql_query(" select distinct wr_subject from $g5[write_prefix]$apt_table where wr_subject != '' ");
//for ($i=0; $row=mysql_fetch_array($sql); $i++) {
for ($i=0; $row=sql_fetch_array($sql); $i++) {
?>
<option value='<?=$row[wr_subject]?>'>
<?=$row[wr_subject]?>
<? }?>
</option>
</select>
<?
if ($sca == '아파트') {
?>
<select name=wr_7 onchange="location='<?=$category_location?>'+this.form.sca.value+'&wr_9='+this.form.wr_9.value+'&wr_8='+this.form.wr_8.value+'&wr_5='+this.form.wr_5.value+'&wr_7='+this.value;" >
<option value=''>
<?//=$board[bo_9_subj]?>공인중개사
</option>
<?
$mem_table = 'apt_member'; //회원사등록 게시판
//$sql = mysql_query(" select distinct wr_subject from $g5[write_prefix]$mem_table where wr_subject != '' ");
$sql = sql_query(" select distinct wr_subject from $g5[write_prefix]$mem_table where wr_subject != '' ");
//for ($i=0; $row=mysql_fetch_array($sql); $i++) {
for ($i=0; $row=sql_fetch_array($sql); $i++) {
?>
<option value='<?=$row[wr_subject]?>'>
<?=$row[wr_subject]?>
<? }?>
</option>
</select>
<? } else{?>
<input type=hidden name=wr_7 value="<?=$wr_7?>" />
<? }?>
</td>
<!--</form>-->
</tr>
</table></form>
</div>
</td></tr></table>
<!-- 보증금,월세 -->
<!--<table>
<tr>
<td valign="top"><table id="hz">
<tr>
<td colspan="2" align="center">보 증 금</td>
</tr>
<tr>
<td><input type="button" value=" 100만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('100').siblings('.btn_submit').click();"></td>
<td><input type="button" value=" 200만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('200').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value=" 300만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('300').siblings('.btn_submit').click();"></td>
<td><input type="button" value=" 400만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('400').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value=" 500만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('500').siblings('.btn_submit').click();"></td>
<td><input type="button" value="1,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('1,000').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="1,500만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('1,500').siblings('.btn_submit').click();"></td>
<td><input type="button" value="2,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('2,000').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="2,500만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('2,500').siblings('.btn_submit').click();"></td>
<td><input type="button" value="3,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('3,000').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="4,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('4,000').siblings('.btn_submit').click();"></td>
<td><input type="button" value="5,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('5,000').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="6,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('6,000').siblings('.btn_submit').click();"></td>
<td><input type="button" value="7,000만원" onClick="$('#sfl').val('wr_13||wr_16||wr_19||wr_22||wr_25'); $('#stx').val('7,000').siblings('.btn_submit').click();"></td>
</tr>
</table></td>
<td></td>
<td valign="top"><table id="hz">
<tr>
<td colspan="2" align="center">월 세</td>
</tr>
<tr>
<td><input type="button" value="35만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('35').siblings('.btn_submit').click();"></td>
<td><input type="button" value="40만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('40').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="45만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('45').siblings('.btn_submit').click();"></td>
<td><input type="button" value="50만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('50').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="55만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('55').siblings('.btn_submit').click();"></td>
<td><input type="button" value="60만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('60').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="65만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('65').siblings('.btn_submit').click();"></td>
<td><input type="button" value="70만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('70').siblings('.btn_submit').click();"></td>
</tr>
<tr>
<td><input type="button" value="75만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('75').siblings('.btn_submit').click();"></td>
<td><input type="button" value="80만원" onClick="$('#sfl').val('wr_14||wr_17||wr_20||wr_23||wr_26'); $('#stx').val('80').siblings('.btn_submit').click();"></td>
</tr>
</table></td>
</tr>
</table> -->
<!-- 보증금,월세 -->
<table width="100%"><tr><td height=5></td></tr></table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td colspan=8 height=2 bgcolor=#C22212></td></tr>
<tr bgcolor=#F1F1F1>
<td width="40" height="35" align=center>번호</td>
<td width="42" align=center>형태</td>
<td width="60" align=center>지역</td>
<td width="80" align=center>매물</td>
<?php if ($is_checkbox) { ?><td width="30" align=left><label for="chkall" class="sound_only">현재 페이지 게시물 전체</label>
<input type="checkbox" id="chkall" onclick="if (this.checked) all_checked(true); else all_checked(false);"></td><?php } ?>
<td style='word-break:break-all;' align=center>제목</td>
<!--<td width="120" align=center>평형</td>
<td width="110" align=center>가격</td>-->
<td width="50" align=center>수정일</td>
</tr>
<tr><td colspan=8 height=3></td></tr>
</table>
<div style="height:1px; line-height:1px; font-size:1px; background-color:#ddd; clear:both;"> </div>
<!--<form name="fboardlist" method="post" style="margin:0px;">
<input type="hidden" name="bo_table" value="<?=$bo_table?>" />
<input type="hidden" name="sfl" value="<?=$sfl?>" />
<input type="hidden" name="stx" value="<?=$stx?>" />
<input type="hidden" name="spt" value="<?=$spt?>" />
<input type="hidden" name="sca" value="<?=$sca?>" />
<input type="hidden" name="page" value="<?=$page?>" />
<input type="hidden" name="sw" value="" /> -->
<form name="fboardlist" id="fboardlist" action="./board_list_update.php" onsubmit="return fboardlist_submit(this);" method="post">
<input type="hidden" name="bo_table" value="<?php echo $bo_table ?>">
<input type="hidden" name="sfl" value="<?php echo $sfl ?>">
<input type="hidden" name="stx" value="<?php echo $stx ?>">
<input type="hidden" name="spt" value="<?php echo $spt ?>">
<input type="hidden" name="sca" value="<?php echo $sca ?>">
<input type="hidden" name="sst" value="<?php echo $sst ?>">
<input type="hidden" name="sod" value="<?php echo $sod ?>">
<input type="hidden" name="page" value="<?php echo $page ?>">
<input type="hidden" name="sw" value="">
<? for ($i=0; $i<count($list); $i++) { ?>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!--<tr align=center <? if ($wr_id == $list[$i][wr_id]) { ?>bgcolor="#FFF9F9"<? }?> onmouseover=this.style.backgroundColor='#fafafa' onmouseout=this.style.backgroundColor='' style="FILTER: blendTrans(duration=0.5);">-->
<tr align="center"
<? if ($wr_id == $list[$i][wr_id]) { ?>
bgcolor="#FFF9F9"
<? }?>
onmouseover="this.style.backgroundColor='#fafafa'" onmouseout="this.style.backgroundColor=''" style="FILTER:blendTrans(duration=0.5);">
<td width="40" height="35">
<?php
if ($list[$i]['is_notice']) // 공지사항
echo '<strong>공지</strong>';
else if ($wr_id == $list[$i]['wr_id'])
echo "<span class=\"bo_current\">열람중</span>";
else
echo $list[$i]['num'];
?>
</td>
<td width="42" class="list">
<?=$list[$i][wr_5]?>
</td>
<td width="60" class="list">
<?=$list[$i]['wr_8']?>
</td>
<td width="80" class="list">
<?
if ($is_category && $list[$i][ca_name]) {
echo "{$list[$i][ca_name]}";
}
?>
</td>
<td align=left class="list" style='word-break:break-all;'>
<?
if ($is_checkbox)
echo "<input type=checkbox name=chk_wr_id[] value='".$list[$i][wr_id]."' id='chk_wr_id_".$i."'>";
//그누 echo "<input type=checkbox name=chk_wr_id[] value='".$list[$i]['wr_id']."'>";
//php echo "<input type=checkbox name=chk_wr_id[] value='".$list[$i][wr_id]."'>";
//echo $list[$i][wr_id];
//echo $nobr_begin;
//echo $list[$i][reply];
//echo $list[$i][icon_reply];
$style = "";
if ($list[$i][is_notice]) $style = " style='font-weight:bold;'";
echo " <a href='{$list[$i][href]}' $style>";
echo $list[$i][subject];
echo "</a>";
if ($sca == '아파트')
echo $list[$i][ext3_03];
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-family:Tahoma;font-size:10px;color:#EE5A00;'>{$list[$i][comment_cnt]}</span></a>";
echo " " . $list[$i][icon_new];
//echo " " . $list[$i][icon_file];
//echo " " . $list[$i][icon_hot];
//echo $nobr_end;
?>
</td>
<?
$p_two = explode("|",$list[$i][wr_2]);
$two01 = $p_two[0];
$two02 = $p_two[1];
중간생략
$two09 = $p_two[8];
$two10 = $p_two[9];
$add_filed = explode("|",$list[$i][wr_6]);
$add01 = $add_filed[0];
$add02 = $add_filed[1];
$add03 = $add_filed[2];
중간생략
$add56 = $add_filed[55];
$add57 = $add_filed[56];
$add58 = $add_filed[57];
$add59 = $add_filed[58];
$add60 = $add_filed[59];
?>
<!--<td width="60" class="list">
<?=$add01?>
평형</td>
<td width="60" align=left>
<span style='font-size:10px;color:#EE5A00;'><?=$add02?></span>
m²</td>
<td width="110" align=right class="list"><? if ($list[$i]['wr_5'] == '매매') {?>
<?=$two01?> 만원
<? }?>
<? if ($list[$i]['wr_5'] == '전세') {?>
<?=$two03?> 만원
<? }?>
<? if ($list[$i]['wr_5'] == '월세') {?>
<?=$two04?> / <?=$two05?> 만원
<? }?>
<? if ($list[$i]['wr_5'] == '임대') {?>
<?=$two06?> / <?=$tow07?> 만원
<? }?></td>-->
<td width="50" align=right class="list"><? if($list[$i][wr_11]){
echo substr($list[$i][wr_11],2,8);
}else{
echo substr($list[$i][wr_datetime],2,8);
}
?> </td>
</tr>
</table>
<div style="height:1px; line-height:1px; font-size:1px; background-color:#ddd; clear:both;"> </div>
<? }?>
<!--</form>-->
<table width="<?=$width?>" cellpadding=0 cellspacing=0>
<tr>
<td width="50%" height="55"><div class="bo_fx"><!-- <? if ($list_href) { ?>
<a href="<?=$list_href?>"><img src="<?=$board_skin_url?>/img/btn_list.gif" border="0" /></a>
<? } ?>
<? if ($write_href) { ?>
<a href="<?=$write_href?>"><img src="<?=$board_skin_url?>/img/btn_write.gif" border="0" /></a>
<? } ?> -->
<? if ($is_checkbox) { ?>
<!--<a href="javascript:select_delete();"><img src="<?=$board_skin_url?>/img/btn_select_delete.gif" border="0" /></a> <a href="javascript:select_copy('copy');"><img src="<?=$board_skin_url?>/img/btn_select_copy.gif" border="0" /></a> <a href="javascript:select_copy('move');"><img src="<?=$board_skin_url?>/img/btn_select_move.gif" border="0" /></a>-->
<ul class="btn_bo_adm">
<input type="submit" name="btn_submit" value="선택삭제" onclick="document.pressed=this.value">
<input type="submit" name="btn_submit" value="선택복사" onclick="document.pressed=this.value">
<input type="submit" name="btn_submit" value="선택이동" onclick="document.pressed=this.value">
</ul>
<? } ?></div></td>
<td width="50%" align="right">
<div style="float:right;">
<!--<? if ($admin_href) { ?>
<a href="<?=$admin_href?>"><img src="<?=$board_skin_url?>/img/btn_admin.gif" border='0' title="관리자" align="absmiddle" /></a>
<?}?>
<? if ($rss_href) { ?>
<a href='<?=$rss_href?>'><img src='<?=$board_skin_url?>/img/btn_rss.gif' border='0' align="absmiddle" /></a>
<?}?> -->
<?php if ($rss_href || $write_href) { ?>
<ul class="btn_bo_user">
<?php if ($rss_href) { ?><li><a href="<?php echo $rss_href ?>" class="btn_b01">RSS</a></li><?php } ?>
<?php if ($admin_href) { ?><li><a href="<?php echo $admin_href ?>" class="btn_admin">관리자</a></li><?php } ?>
<?php if ($write_href) { ?><li><a href="<?php echo $write_href ?>" class="btn_b02">글쓰기</a></li><?php } ?>
</ul>
<?php } ?>
<!--<img src="<?=$board_skin_url?>/img/icon_total.gif" align="absmiddle" border='0' /> <span style="color:#888888; font-weight:bold;">Total
&nbs