첫번째 붉은색 부분 지울려고 합니다
두번째 로그인지우니 공간이 이상하게 나옵니다 옆에 최신글 높이로 맟출려고 합니다
초보라서 초보가 알수있게 도와주세요
링크주소가 없어서 헤드부분 소스를 옮립니다
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/head.sub.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$sql = "select count(*) as cnt from $g4[login_table] where mb_id <> '$config[cf_admin]'";
$row = sql_fetch($sql);
$current_connect = $row[cnt];
// 읽지 않은 쪽지가 있다면
$memo_not_read = 0;
if ($is_member) {
$sql = " select count(*) as cnt from $g4[memo_table] where me_recv_mb_id = '$member[mb_id]' and me_read_datetime = '0000-00-00 00:00:00' ";
$row = sql_fetch($sql);
$memo_not_read = $row['cnt'];
}
?>
<link rel="stylesheet" href="<?=$g4['path']?>/theme/<?=$g4['mw_lite_theme']?>/style.css" type="text/css"/>
<style type="text/css">
#head .mw-index-menu-bar { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/mm.png); }
#head .mw-index-menu-div { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/md.png) center no-repeat; }
#head .mw-index-menu-select1 { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/msm.png); }
#head .mw-index-menu-select2 { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/msl.png) top left no-repeat; }
#head .mw-index-menu-select3 { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/msr.png) top right no-repeat; }
#head .mw-index-menu-bar .mw-drop-menu div { background:url(<?=$g4[path]?>/img/dot.gif) 0 7px no-repeat; }
#sm .sm_sub { background:url(<?=$g4[path]?>/img/menu.gif) left top no-repeat; }
</style>
<div id="mw-index">
<!-- 헤더 시작 -->
<div id="head">
<table border=0 cellpadding=0 cellspacing=0 style="margin:0 auto 0 auto;" align="center">
<tr>
<td class="logo"><!-- 사이트 로고 --><a href="<?=$g4[path]?>"><img src="<?=$g4[path]?>/img/logo.png"></a></td>
<td width=10></td>
<td>
<!-- 상단검색창 시작 -->
<form name=fmainsearch action="<?=$g4[bbs_path]?>/search.php" class="search-box">
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<?//=$group_select?>
<span class="search-text"><input type=text name=stx></span>
<input type=submit value="검색" class="search-button">
</form>
<!-- 상단검색창 끝 -->
</td>
<td width=70></td>
</tr>
</table>
<div id="top">
<div style="float:left;">
<a href="javascript:window.external.AddFavorite('http://<?=$_SERVER[HTTP_HOST]?>/' , '<?=$config[cf_title]?>');">즐겨찾기</a>
<span class="span"> | </span>
<a href="<?=$g4[bbs_path]?>/current_connect.php">현재접속자 (<?=$current_connect?>)</a>
<span class="span"> | </span>
<a href="<?=$g4[bbs_path]?>/new.php">최근게시물</a>
</div>
<div style="float:right;">
<? if ($is_admin == "super") { ?>
<a href="<?=$g4[admin_path]?>/">관리자</a>
<span class="span"> | </span>
<? } ?>
<? if (!$is_member) { ?>
<a href="<?=$g4[bbs_path]?>/login.php">로그인</a>
<span class="span"> | </span>
<a href="<?=$g4[bbs_path]?>/register.php">회원가입</a>
<? } else { ?>
<a href="javascript:win_memo();">쪽지 (<?=$memo_not_read?>)</a>
<span class="span"> | </span>
<? if ($config[cf_use_point]) { ?>
<a href="javascript:win_point();">포인트 (<?=number_format($member[mb_point])?>)</a>
<span class="span"> | </span>
<? } ?>
<a href="<?=$g4[bbs_path]?>/logout.php">로그아웃</a>
<span class="span"> | </span>
<a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php">정보수정</a>
<? } ?>
</div>
</div>
<!-- 그룹 메뉴 -->
<div class="mw-index-menu-bar">
<? include_once("$g4[path]/js_menu14/menu.php");?>
<!-- 그룹 메뉴 끝 -->
</div>
<script type="text/javascript">
$(document).ready(function () {
$(".mw-index-menu-item").mouseenter(function () {
$(".mw-drop-menu").hide();
gr_id = $(this).attr("gr_id");
t = $(this).offset().top;
l = $(this).offset().left;
$("#mw-drop-menu-"+gr_id).css("top", t+30);
$("#mw-drop-menu-"+gr_id).css("left", l);
$("#mw-drop-menu-"+gr_id).show();
});
$(".mw-index-menu-bar").mouseleave(function () {
$(".mw-drop-menu").hide();
});
});
</script>
</div><!-- head -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="180">
<div id="sm">
<div class="sm_border">
<div class="sm_margin">
<?
$sql = "select * from $g4[group_table] ";
if ($gr_id)
$sql .= " where gr_id = '$gr_id' ";
$sql.= " order by CAST(gr_1 AS SIGNED) asc ";
$qry = sql_query($sql);
for ($i=0; $row=sql_fetch_array($qry); $i++) {
?>
<div class="sm_item">
<div class="sm_title"><a href="<?=$g4[bbs_path]?>/group.php?gr_id=<?=$row[gr_id]?>"><?=$row[gr_subject]?></a></div>
<?
$sql2 = "select * from $g4[board_table] where gr_id = '$row[gr_id]' and bo_use_search = '1' order by bo_order_search asc";
$qry2 = sql_query($sql2);
for ($j=0; $row2=sql_fetch_array($qry2); $j++) {
if ($row2[bo_table] == $bo_table) $class = "sm_sub selected"; else $class = "sm_sub";
?>
<div class="<?=$class?>"><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$row2[bo_table]?>"><?=$row2[bo_subject]?></a></div>
<? } ?>
</div> <!-- sm_item -->
<? } ?>
</div> <!-- sm_margin -->
</div> <!-- sm_border -->
</div> <!-- sm -->
<div class="poll"><?=poll("mw.poll")?></div>
</td>
<td width="10"></td>
<td valign="top">
두번째 로그인지우니 공간이 이상하게 나옵니다 옆에 최신글 높이로 맟출려고 합니다
초보라서 초보가 알수있게 도와주세요
링크주소가 없어서 헤드부분 소스를 옮립니다
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/head.sub.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$sql = "select count(*) as cnt from $g4[login_table] where mb_id <> '$config[cf_admin]'";
$row = sql_fetch($sql);
$current_connect = $row[cnt];
// 읽지 않은 쪽지가 있다면
$memo_not_read = 0;
if ($is_member) {
$sql = " select count(*) as cnt from $g4[memo_table] where me_recv_mb_id = '$member[mb_id]' and me_read_datetime = '0000-00-00 00:00:00' ";
$row = sql_fetch($sql);
$memo_not_read = $row['cnt'];
}
?>
<link rel="stylesheet" href="<?=$g4['path']?>/theme/<?=$g4['mw_lite_theme']?>/style.css" type="text/css"/>
<style type="text/css">
#head .mw-index-menu-bar { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/mm.png); }
#head .mw-index-menu-div { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/md.png) center no-repeat; }
#head .mw-index-menu-select1 { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/msm.png); }
#head .mw-index-menu-select2 { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/msl.png) top left no-repeat; }
#head .mw-index-menu-select3 { background:url(<?=$g4[path]?>/theme/<?=$g4['mw_lite_theme']?>/img/msr.png) top right no-repeat; }
#head .mw-index-menu-bar .mw-drop-menu div { background:url(<?=$g4[path]?>/img/dot.gif) 0 7px no-repeat; }
#sm .sm_sub { background:url(<?=$g4[path]?>/img/menu.gif) left top no-repeat; }
</style>
<div id="mw-index">
<!-- 헤더 시작 -->
<div id="head">
<table border=0 cellpadding=0 cellspacing=0 style="margin:0 auto 0 auto;" align="center">
<tr>
<td class="logo"><!-- 사이트 로고 --><a href="<?=$g4[path]?>"><img src="<?=$g4[path]?>/img/logo.png"></a></td>
<td width=10></td>
<td>
<!-- 상단검색창 시작 -->
<form name=fmainsearch action="<?=$g4[bbs_path]?>/search.php" class="search-box">
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<?//=$group_select?>
<span class="search-text"><input type=text name=stx></span>
<input type=submit value="검색" class="search-button">
</form>
<!-- 상단검색창 끝 -->
</td>
<td width=70></td>
</tr>
</table>
<div id="top">
<div style="float:left;">
<a href="javascript:window.external.AddFavorite('http://<?=$_SERVER[HTTP_HOST]?>/' , '<?=$config[cf_title]?>');">즐겨찾기</a>
<span class="span"> | </span>
<a href="<?=$g4[bbs_path]?>/current_connect.php">현재접속자 (<?=$current_connect?>)</a>
<span class="span"> | </span>
<a href="<?=$g4[bbs_path]?>/new.php">최근게시물</a>
</div>
<div style="float:right;">
<? if ($is_admin == "super") { ?>
<a href="<?=$g4[admin_path]?>/">관리자</a>
<span class="span"> | </span>
<? } ?>
<? if (!$is_member) { ?>
<a href="<?=$g4[bbs_path]?>/login.php">로그인</a>
<span class="span"> | </span>
<a href="<?=$g4[bbs_path]?>/register.php">회원가입</a>
<? } else { ?>
<a href="javascript:win_memo();">쪽지 (<?=$memo_not_read?>)</a>
<span class="span"> | </span>
<? if ($config[cf_use_point]) { ?>
<a href="javascript:win_point();">포인트 (<?=number_format($member[mb_point])?>)</a>
<span class="span"> | </span>
<? } ?>
<a href="<?=$g4[bbs_path]?>/logout.php">로그아웃</a>
<span class="span"> | </span>
<a href="<?=$g4[bbs_path]?>/member_confirm.php?url=register_form.php">정보수정</a>
<? } ?>
</div>
</div>
<!-- 그룹 메뉴 -->
<div class="mw-index-menu-bar">
<? include_once("$g4[path]/js_menu14/menu.php");?>
<!-- 그룹 메뉴 끝 -->
</div>
<script type="text/javascript">
$(document).ready(function () {
$(".mw-index-menu-item").mouseenter(function () {
$(".mw-drop-menu").hide();
gr_id = $(this).attr("gr_id");
t = $(this).offset().top;
l = $(this).offset().left;
$("#mw-drop-menu-"+gr_id).css("top", t+30);
$("#mw-drop-menu-"+gr_id).css("left", l);
$("#mw-drop-menu-"+gr_id).show();
});
$(".mw-index-menu-bar").mouseleave(function () {
$(".mw-drop-menu").hide();
});
});
</script>
</div><!-- head -->
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td valign="top" width="180">
<div id="sm">
<div class="sm_border">
<div class="sm_margin">
<?
$sql = "select * from $g4[group_table] ";
if ($gr_id)
$sql .= " where gr_id = '$gr_id' ";
$sql.= " order by CAST(gr_1 AS SIGNED) asc ";
$qry = sql_query($sql);
for ($i=0; $row=sql_fetch_array($qry); $i++) {
?>
<div class="sm_item">
<div class="sm_title"><a href="<?=$g4[bbs_path]?>/group.php?gr_id=<?=$row[gr_id]?>"><?=$row[gr_subject]?></a></div>
<?
$sql2 = "select * from $g4[board_table] where gr_id = '$row[gr_id]' and bo_use_search = '1' order by bo_order_search asc";
$qry2 = sql_query($sql2);
for ($j=0; $row2=sql_fetch_array($qry2); $j++) {
if ($row2[bo_table] == $bo_table) $class = "sm_sub selected"; else $class = "sm_sub";
?>
<div class="<?=$class?>"><a href="<?=$g4[bbs_path]?>/board.php?bo_table=<?=$row2[bo_table]?>"><?=$row2[bo_subject]?></a></div>
<? } ?>
</div> <!-- sm_item -->
<? } ?>
</div> <!-- sm_margin -->
</div> <!-- sm_border -->
</div> <!-- sm -->
<div class="poll"><?=poll("mw.poll")?></div>
</td>
<td width="10"></td>
<td valign="top">
댓글 4개
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기