불친절한아원씨님의 그룹 최신글 (포토) 도와주세요... 정보
불친절한아원씨님의 그룹 최신글 (포토) 도와주세요...본문
http://www.sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=50979&sca=&sfl=wr_subject%7C%7Cwr_content&stx=%B1%D7%B7%EC&sop=and
이곳의 소스를 좀 수정하려 하는데요..이미지가 뜨지 않네요......고수님들 도와주세요...정말 고맙습니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$img_w = '133'; // 이미지 가로 세로 사이즈
$img_h = '145';
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
?>
<head>
<style type="text/css">
<!--
.style1 {
color: #FF6600;
font-weight: bold;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<table border="0" cellspacing="0" cellpadding="0" id="table11">
<tr>
<? for($i=0; $i<count($list); $i++) {$m++;?>
<td>
<table border="0" id="table14" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" id="table15">
<tr>
<td>
<table border="0" width="100%" id="table16" cellspacing="0" cellpadding="0">
<tr>
<td>
<?
$image = $list[$i][file][0][file]; //원본 리사이즈_아래 자바와 연동_추가
$img=$data_path. "/".$image; //썸네일이 없을경우 원본출력
$thumb = $thumb_path. "/". $list[$i][wr_id];
if ( file_exists($thumb) )
$img = $thumb;
$style_a = "font-family:; font-size:10pt; color:#999999;";
$style = "font-family:; font-size:10pt; color:#636363;";
if ($list[$i][icon_new])
$style = "style='font-family:; font-size:9pt; color:#666666;' ";
$subject = "<span $style>".cut_str($list[$i][subject],30)."</span>"; //제목 글자수 자르기
// $subject = "<span $style>". $list[$i][subject]. "</span>";
?>
<? echo "<a href='{$list[$i][href]}' onfocus='this.blur()'><img src='$img' width='$img_w' height='$img_h' border='0'></a>"; ?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<img border="0" src="<?=$latest_skin_path?>/img/new.gif"></td>
</tr>
<tr>
<td valign="top"><? echo"<a href='{$list[$i][href]}' onfocus='this.blur()'>{$subject}</a>"; ?></td>
</tr>
<tr>
<td valign="top" height="5"></td>
</tr>
</table></td>
<td valign="top">
<img border="0" src="skin/latest/main/img/bg.gif" width="21" height="142"></td>
</tr>
</table>
</td>
<? if ($m%6==0){ ?>
</tr>
<tr>
<?}?>
<? } ?>
<? if (count($list) == 0) { echo "<td height=30 align=center>아직 상품이 없습니다.</td>"; } ?>
</tr>
</table>
여기서 최신게시물이 안뜨네요........수정 부탁드립니다.,
이곳의 소스를 좀 수정하려 하는데요..이미지가 뜨지 않네요......고수님들 도와주세요...정말 고맙습니다.
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$img_w = '133'; // 이미지 가로 세로 사이즈
$img_h = '145';
$data_path = $g4[path]."/data/file/$bo_table";
$thumb_path = $data_path.'/thumb';
?>
<head>
<style type="text/css">
<!--
.style1 {
color: #FF6600;
font-weight: bold;
}
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<table border="0" cellspacing="0" cellpadding="0" id="table11">
<tr>
<? for($i=0; $i<count($list); $i++) {$m++;?>
<td>
<table border="0" id="table14" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="100%" border="0" cellspacing="1" id="table15">
<tr>
<td>
<table border="0" width="100%" id="table16" cellspacing="0" cellpadding="0">
<tr>
<td>
<?
$image = $list[$i][file][0][file]; //원본 리사이즈_아래 자바와 연동_추가
$img=$data_path. "/".$image; //썸네일이 없을경우 원본출력
$thumb = $thumb_path. "/". $list[$i][wr_id];
if ( file_exists($thumb) )
$img = $thumb;
$style_a = "font-family:; font-size:10pt; color:#999999;";
$style = "font-family:; font-size:10pt; color:#636363;";
if ($list[$i][icon_new])
$style = "style='font-family:; font-size:9pt; color:#666666;' ";
$subject = "<span $style>".cut_str($list[$i][subject],30)."</span>"; //제목 글자수 자르기
// $subject = "<span $style>". $list[$i][subject]. "</span>";
?>
<? echo "<a href='{$list[$i][href]}' onfocus='this.blur()'><img src='$img' width='$img_w' height='$img_h' border='0'></a>"; ?>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top">
<img border="0" src="<?=$latest_skin_path?>/img/new.gif"></td>
</tr>
<tr>
<td valign="top"><? echo"<a href='{$list[$i][href]}' onfocus='this.blur()'>{$subject}</a>"; ?></td>
</tr>
<tr>
<td valign="top" height="5"></td>
</tr>
</table></td>
<td valign="top">
<img border="0" src="skin/latest/main/img/bg.gif" width="21" height="142"></td>
</tr>
</table>
</td>
<? if ($m%6==0){ ?>
</tr>
<tr>
<?}?>
<? } ?>
<? if (count($list) == 0) { echo "<td height=30 align=center>아직 상품이 없습니다.</td>"; } ?>
</tr>
</table>
여기서 최신게시물이 안뜨네요........수정 부탁드립니다.,
댓글 전체

해당 페이지 URL도 공개해 보세요.
다운로드 주소 http://www.nihao020.com/latest.skin.rar 다운받으시고 수정해주시면 고맙겟습니다.

수정한 내용이 없이 다운 받은 스킨이 동작을 안 한다면
스킨 설치 요구 사항을 살펴 봐야겠군요.
우선 gd 버젼부터 확인해 보세요.
스킨 설치 요구 사항을 살펴 봐야겠군요.
우선 gd 버젼부터 확인해 보세요.

해당 최신글 스킨을 참고하시어 만드시기 바랍니다~

ㅅㄷㄴㅅ