목록에서 내용보기가 가능한 최신글스킨 정보
최신글 목록에서 내용보기가 가능한 최신글스킨관련링크
첨부파일
본문
필요해서 찾아보다가 없어서 만들게 되었습니다.
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 에서
테이블을 수정하셔야 합니다.
글 내용중에 영문이 있다면 글자르기가 적용이 안돼 테이블이 깨지거나 내용이 안나오는 문제점이 있네요. 이 문제는 다른 분께서 해결해주시면 감사하겠습니다.
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
8
댓글 전체
카페같은 스킨에 적용하면 이쁠것 같습니다
카페 활성화되면 그때 잘 사용하겠습니다
미리 인사드립니다
카페 활성화되면 그때 잘 사용하겠습니다
미리 인사드립니다
좋아요!

감사합니다.
스크랩 해 두었다가 나중에 받아갈게요.
깔끔합니다.
스크랩 해 두었다가 나중에 받아갈게요.
깔끔합니다.
감사 합니다
초보자인데
나는 index.php에
<? echo latest("basic2", "2" , 4, 46); ?>//스킨명, 게시판명,출력글수,길이
하니 1열로 나오네요
2열 하는 방법좀 부탁 드립니다.
초보자인데
나는 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");
?>
적당히 수정하시면 됩니다.
<?
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);
삽입 해죠야 할듯 하내요
$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);
삽입 해죠야 할듯 하내요
잘 쓸께요.
