G3랑 참 다르네요. 최신글 말인데요. 정보
G3랑 참 다르네요. 최신글 말인데요.본문
G4처음 설치한다음 게시판 만들고 글쓰면 모든 게시판이 메인 화면에 최신글로 뜨잖아요.
그거 없애려면 어떻게 해야 합니까....
[head.php]
----------------------------
<table width='<?=$table_width?>' cellpadding=0 cellspacing=0>
<tr>
<td width=43></td>
<td width=220 valign=top>
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width=683 valign=top>
요부분인듯 싶은데... ㅡ.,ㅡ
---------------------------
[tail.php]
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td></tr></table>
<div style='height:5px;'></div>
<div style="clear:both;"></div>
<!-- 카피라이트 시작 -->
<div style='float:left;'>
<table width="<?=$table_width?>" border="0" cellspacing="10" cellpadding="10">
<tr>
<td valign="top" background="<?=$g4[path]?>/img/copyright.gif"><a href="#g4_head"><img src="<?=$g4[path]?>/img/icon.gif" width="15" height="12" border="0"></a><font color="#848484">Copyright ⓒ your-domain. All rights reserved.</font></td>
</tr>
</table>
</div>
<!-- 카피라이트 끝 -->
<?
include_once("$g4[path]/tail.sub.php");
?>
그거 없애려면 어떻게 해야 합니까....
[head.php]
----------------------------
<table width='<?=$table_width?>' cellpadding=0 cellspacing=0>
<tr>
<td width=43></td>
<td width=220 valign=top>
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width=683 valign=top>
요부분인듯 싶은데... ㅡ.,ㅡ
---------------------------
[tail.php]
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>
</td></tr></table>
<div style='height:5px;'></div>
<div style="clear:both;"></div>
<!-- 카피라이트 시작 -->
<div style='float:left;'>
<table width="<?=$table_width?>" border="0" cellspacing="10" cellpadding="10">
<tr>
<td valign="top" background="<?=$g4[path]?>/img/copyright.gif"><a href="#g4_head"><img src="<?=$g4[path]?>/img/icon.gif" width="15" height="12" border="0"></a><font color="#848484">Copyright ⓒ your-domain. All rights reserved.</font></td>
</tr>
</table>
</div>
<!-- 카피라이트 끝 -->
<?
include_once("$g4[path]/tail.sub.php");
?>
댓글 전체
최신글은 index.php에서 다음부분을 제거하시면 됩니다.
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<?
// 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", $row[bo_table], 5, 70);
echo "<p>\n";
}
?>
</td></tr></table>
<!-- 메인화면 최신글 끝 -->
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<?
// 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", $row[bo_table], 5, 70);
echo "<p>\n";
}
?>
</td></tr></table>
<!-- 메인화면 최신글 끝 -->
헉... 제가 왜 index.php를 볼 생각을 안했는지...ㅜㅜ
감사합니다.
감사합니다.
index.php 에서
======================================================
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<?
// 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", $row[bo_table], 5, 70);
echo "<p>\n";
}
?>
</td></tr></table>
<!-- 메인화면 최신글 끝 -->
==========================================
를 지우면 아예 최신글이 안되자나여...
게시판 여러개중 최신글 한개만 넣고자할때 어떡하면되나여..
======================================================
<!-- 메인화면 최신글 시작 -->
<table width="100%" cellpadding=0 cellspacing=0><tr><td valign=top>
<?
// 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
// 이 함수가 바로 최신글을 추출하는 역할을 합니다.
// 스킨은 입력하지 않을 경우 관리자 > 환경설정의 최신글 스킨경로를 기본 스킨으로 합니다.
// 사용방법
// latest(스킨, 게시판아이디, 출력라인, 글자수);
echo latest("basic", $row[bo_table], 5, 70);
echo "<p>\n";
}
?>
</td></tr></table>
<!-- 메인화면 최신글 끝 -->
==========================================
를 지우면 아예 최신글이 안되자나여...
게시판 여러개중 최신글 한개만 넣고자할때 어떡하면되나여..
<?=latest("스킨명", "게시판명", 5, 50);?>
자주하시는 질문란에 다 있음..
자주하시는 질문란에 다 있음..