목록에서 내용보기가 가능한 최신글스킨 > 그누4 스킨

그누4 스킨

스킨의 저작권은 해당 스킨 제작자님께 있으며, 그누보드의 저작권과 다를 수 있습니다.
스킨 다운로드시 좋아요와 감사의 코멘트를 남기시면 제작자에게 큰 힘이됩니다. ^^y
그누보드와 관련이 있지만 스킨과 빌더가 아니면 플러그인 게시판에 올려주세요.

목록에서 내용보기가 가능한 최신글스킨 정보

최신글 목록에서 내용보기가 가능한 최신글스킨

첨부파일

basic2.zip (23.5K) 398회 다운로드 2008-06-12 16:53:55

본문

필요해서 찾아보다가 없어서 만들게 되었습니다.

http://www.sir.co.kr/bbs/tb.php/g4_skin/48625/06817ad7ac98a4b7fb0ced97d8e76b16
의 자료를 이용했습니다.

설치는
skin/latest/basic2 에 넣으면 됩니다.

필요한 곳에 아래와 같이 넣어서 출력하면 됩니다.
<? echo latest("basic2", "free" , 4, 46); ?>//스킨명, 게시판명,출력글수,길이

글자길이는 72까지 내용보기가 가능합니다. 더 길게 보실려면 pop_view.php 에서
테이블을 수정하셔야 합니다. 

글 내용중에 영문이 있다면 글자르기가 적용이 안돼 테이블이 깨지거나 내용이 안나오는 문제점이 있네요. 이 문제는 다른 분께서 해결해주시면 감사하겠습니다.
추천
8
  • 복사

댓글 전체

감사 합니다

초보자인데
나는 index.php에
<? echo latest("basic2", "2" , 4, 46); ?>//스킨명, 게시판명,출력글수,길이
하니 1열로 나오네요

2열 하는 방법좀 부탁 드립니다.
현재두줄로 나오는 index.php의 구성입니다.
적당히 수정하시면 됩니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = "";
include_once("./_head.php");
$main_width=300;
  $td_width=5;
  $height=10;
?>
<table>
<tr><td width="<?=$main_width?>"><? echo latest("basic", "free" , 4, 46); ?></td>
    <td width="<?=$td_width?>"></td>
    <td width="<?=$main_width?>"><? echo latest("basic", "study" , 4, 46); ?></td></tr>

<tr><td height="<?=$height?>" colspan="3"></td></tr>

<tr><td width="<?=$main_width?>"><? echo latest("basic", "free" , 4, 46); ?></td>
    <td width="<?=$td_width?>"></td>
    <td width="<?=$main_width?>"><? echo latest("basic", "study" , 4, 46); ?></td></tr>
<tr><td height="<?=$height?>" colspan="3"></td></tr></table>

<?
include_once("$g4[path]/tail.php");
?>
$str = trim($content);
$str = str_replace("\n","", $str);
$str = str_replace("\r","", $str);
$str = str_replace("\"","", $str);
$str = str_replace("'","", $str);
$str = str_replace(",","", $str);
$str = stripslashes($str);

삽입 해죠야 할듯 하내요
© SIRSOFT
현재 페이지 제일 처음으로