최신글추출에관한 문의 입니다 정보
최신글추출에관한 문의 입니다관련링크
http://sos114.dothome.co.kr/
141회 연결
본문
현재 게시판 설치을 하게 되면 기본으로 최신글추출이 되는기능은 알고 잇습니다
문제는 첨부한그림과 같이 2줄로 배열은 어디을 어떻게 수정하여야 가능한지 알고 십습니다
http://sos114.dothome.co.kr/
이곳에 설치된 게시판은 그림과 같은 배열이 나오게 하고 십습니다
답변 주시는 모든 분들에게 새해에는 행운이 함게 하시기 빌겟습니다
문제는 첨부한그림과 같이 2줄로 배열은 어디을 어떻게 수정하여야 가능한지 알고 십습니다
http://sos114.dothome.co.kr/
이곳에 설치된 게시판은 그림과 같은 배열이 나오게 하고 십습니다
답변 주시는 모든 분들에게 새해에는 행운이 함게 하시기 빌겟습니다
댓글 전체
http://www.sir.co.kr/bbs/tb.php/g4_tiptech/143 글의 내용입니다.
<table width="100%" cellpadding=0 cellspacing=5>
<? // 그룹별, 게시판별 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
$k=0;
echo "<tr valign='top'>";
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$k=$k+1;
echo "<td>";
echo latest('box', $row[bo_table], 5, 70);
echo "</td>";
if($k==2) {echo "</tr><tr valign='top'>"; $k=0;}
}
?>
</tr>
</table>
=================================
echo latest('box', $row[bo_table], 5, 70); //box는 스킨입니다.
<table width="100%" cellpadding=0 cellspacing=5>
<? // 그룹별, 게시판별 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
$k=0;
echo "<tr valign='top'>";
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$k=$k+1;
echo "<td>";
echo latest('box', $row[bo_table], 5, 70);
echo "</td>";
if($k==2) {echo "</tr><tr valign='top'>"; $k=0;}
}
?>
</tr>
</table>
=================================
echo latest('box', $row[bo_table], 5, 70); //box는 스킨입니다.
죄송 합니다
어느 파일을 저 구문으로 수정 하여야 하나요
수정하여보니 에러가 발생합니다 정확하게 어느 파일 어느부근을 수정한지 알러주시면 감사하겟습니다
에러내용 입니다 [이것 에러에대한 문제가 무엇일가요]
수정하여서 업로드하고 실행하니 이렇게 보입니다
설치된경로는 /html/bbs/ 입니다
scroll 폴더에 스킨파일을 교체하것 입니다 box -scroll 수정하엿습니다
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 38
Call to undefined function: latest() in /home/sos114/html/bbs/index.php on line 19
어느 파일을 저 구문으로 수정 하여야 하나요
수정하여보니 에러가 발생합니다 정확하게 어느 파일 어느부근을 수정한지 알러주시면 감사하겟습니다
에러내용 입니다 [이것 에러에대한 문제가 무엇일가요]
수정하여서 업로드하고 실행하니 이렇게 보입니다
설치된경로는 /html/bbs/ 입니다
scroll 폴더에 스킨파일을 교체하것 입니다 box -scroll 수정하엿습니다
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 32
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 37
Warning: Cannot modify header information - headers already sent by (output started at /home/sos114/html/bbs/index.php:2) in /home/sos114/html/bbs/head.sub.php on line 38
Call to undefined function: latest() in /home/sos114/html/bbs/index.php on line 19
보통...
index.php 파일을 수정하시면 됩니다..
아래와 같이...
--------------------------------
<?
include_once("./_common.php");
$g4[title] = "";
include_once("./_head.php");
?>
<table width="100%" cellpadding=0 cellspacing=5>
<? // 그룹별, 게시판별 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
$k=0;
echo "<tr valign='top'>";
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$k=$k+1;
echo "<td>";
echo latest('box', $row[bo_table], 5, 70);
echo "</td>";
if($k==2) {echo "</tr><tr valign='top'>"; $k=0;}
}
?>
</tr>
</table>
<?
include_once("$g4[path]/tail.php");
?>
----------------------------------------------------------------------------------------------
index.php 파일을 수정하시면 됩니다..
아래와 같이...
--------------------------------
<?
include_once("./_common.php");
$g4[title] = "";
include_once("./_head.php");
?>
<table width="100%" cellpadding=0 cellspacing=5>
<? // 그룹별, 게시판별 최신글
$sql = " select bo_table, bo_subject from $g4[board_table] order by gr_id, bo_table ";
$result = sql_query($sql);
$k=0;
echo "<tr valign='top'>";
for ($i=0; $row=mysql_fetch_array($result); $i++) {
$k=$k+1;
echo "<td>";
echo latest('box', $row[bo_table], 5, 70);
echo "</td>";
if($k==2) {echo "</tr><tr valign='top'>"; $k=0;}
}
?>
</tr>
</table>
<?
include_once("$g4[path]/tail.php");
?>
----------------------------------------------------------------------------------------------