스크롤 최근게시물 이미지클릭시 본문글로 연결좀..부탁해요 정보
스크롤 최근게시물 이미지클릭시 본문글로 연결좀..부탁해요
본문
<?
unset($roll_text);
for ($i=0; $i<count($list); $i++) {
$http = explode("://", $list[$i][wr_link1]);
if (($http[0] != "http") && ($http[0] != "ftp")) {
$link_01 = "http://" . $list[$i][wr_link1];
}else{
$link_01 = $list[$i][wr_link1];
}
$p_four = explode("|",$list[$i][wr_4]);
$four01 = $p_four[0];
$four02 = $p_four[1];
$four03 = $p_four[2];
$four04 = $p_four[3];
$img = "<img src=\"$latest_skin_path/img/noimage.gif\" border=0 heigth=\"$img_height\" width=\"$img_width\" title=\"이미지 없음\">";
$file = $list[$i][file][0][path] ."/". $list[$i][file][0][file];
if($file){
$img = "<a href=\"{$four04}\" target=\"_blank\"><img src=\"$file\" style=\"border:1px solid #efefef;margin-right:".$margin_right."px;\" border=0 height=\"$img_height\" width=\"$img_width\"></a>";
$subject = cut_str($list[$i][wr_subject], 20, '..');
$k = (int)($i / $td_mod);
$roll_text[$k] .= "<table width=100% cellpadding=0 cellspacing=0 border=0 ><tr><td height=45 style=\"border-bottom:1px solid #f2f2f2;padding:2px 0 3px 0;\">";
$roll_text[$k] .= "{$img}";
$roll_text[$k] .= "</td><td height=45 style=\"border-bottom:1px solid #f2f2f2;width:160px; line-height:15px; padding:2px 0 3px 0;\" valign=\"center\"><div class=\"title\">{$subject}</div><br><div class=\"title1\"><b>{$list[$i][wr_1]}</b></div><br><div class=\"title2\">{$list[$i][wr_2]}원</div></td></tr>";
$roll_text[$k] .= "</table>";
}
}
for ($i=0; $i<=$k; $i++) {
echo "roll_text_{$uni}[$i] = '{$roll_text[$i]}';\n";
}
?>
스크롤 최근게시물입니다....그런데 이미지 클릭시 새창으로 뜨고 연결이 안되고
겔러리 최근스킨처럼 이미지 클릭시 본문글로 이동하게 소스 수정좀 부탁해요...
정말 어렵네요...
unset($roll_text);
for ($i=0; $i<count($list); $i++) {
$http = explode("://", $list[$i][wr_link1]);
if (($http[0] != "http") && ($http[0] != "ftp")) {
$link_01 = "http://" . $list[$i][wr_link1];
}else{
$link_01 = $list[$i][wr_link1];
}
$p_four = explode("|",$list[$i][wr_4]);
$four01 = $p_four[0];
$four02 = $p_four[1];
$four03 = $p_four[2];
$four04 = $p_four[3];
$img = "<img src=\"$latest_skin_path/img/noimage.gif\" border=0 heigth=\"$img_height\" width=\"$img_width\" title=\"이미지 없음\">";
$file = $list[$i][file][0][path] ."/". $list[$i][file][0][file];
if($file){
$img = "<a href=\"{$four04}\" target=\"_blank\"><img src=\"$file\" style=\"border:1px solid #efefef;margin-right:".$margin_right."px;\" border=0 height=\"$img_height\" width=\"$img_width\"></a>";
$subject = cut_str($list[$i][wr_subject], 20, '..');
$k = (int)($i / $td_mod);
$roll_text[$k] .= "<table width=100% cellpadding=0 cellspacing=0 border=0 ><tr><td height=45 style=\"border-bottom:1px solid #f2f2f2;padding:2px 0 3px 0;\">";
$roll_text[$k] .= "{$img}";
$roll_text[$k] .= "</td><td height=45 style=\"border-bottom:1px solid #f2f2f2;width:160px; line-height:15px; padding:2px 0 3px 0;\" valign=\"center\"><div class=\"title\">{$subject}</div><br><div class=\"title1\"><b>{$list[$i][wr_1]}</b></div><br><div class=\"title2\">{$list[$i][wr_2]}원</div></td></tr>";
$roll_text[$k] .= "</table>";
}
}
for ($i=0; $i<=$k; $i++) {
echo "roll_text_{$uni}[$i] = '{$roll_text[$i]}';\n";
}
?>
스크롤 최근게시물입니다....그런데 이미지 클릭시 새창으로 뜨고 연결이 안되고
겔러리 최근스킨처럼 이미지 클릭시 본문글로 이동하게 소스 수정좀 부탁해요...
정말 어렵네요...
댓글 전체

노이미지도 안되네 젠장

고맙습니다 꾸벅^^

노이미지도 안되는데 왜그런지 아시나요 혹시...
첨부파일에 이미지없이 글올리면 엘박으로 나오구요
현제 소스에선 노이미지 그림이 나오게 처리된거같은데 작동이 안되네요...
아시면 부탁좀 드릴게요
첨부파일에 이미지없이 글올리면 엘박으로 나오구요
현제 소스에선 노이미지 그림이 나오게 처리된거같은데 작동이 안되네요...
아시면 부탁좀 드릴게요

답변감사합니다.
안되는건 어쩔수없죠 ㅎㅎㅎ
감사해요~
안되는건 어쩔수없죠 ㅎㅎㅎ
감사해요~