물

갤러리스킨에서 제목에 새창링크걸기.. 도와주세요 ㅠㅠ

· 2010-04-21 (수) 14:00:49 · 1387
갤러리 스킨에 제목을 클릭하면 view페이지로 넘어가는게 아니라
제목을 스킨하면 글쓰기에서 링크주소 입력한 그 링크주소가 새창으로 뜨게 하고싶거든요..
포트폴리오로 쓸꺼라서 view페이지는 따로 필요없구여..

그래서 list페이지에서

$style = "";
if ($list[$i][icon_new])
$style = " style='font-weight:' ";
$subject = "<span $style>".cut_str($list[$i][subject],20)."</span>";
$comment_cnt = "";
if ($list[$i][comment_cnt])
$comment_cnt = " <a href=\"{$list[$i][comment_href]}\"><span style='font-size:7pt;'>{$list[$i][comment_cnt]}</span></a>";
echo "<td width='{$td_width}%' valign=bottom style='word-break:break-all;'>";
echo "<table width=100%>";
echo "<tr><td height=5></td></tr>";
echo "<tr><td align=center><a href='{$list[$i][href]}'>$img</a></td></tr>";
echo "<tr><td align=center><a href='{$list[$i][href]}'><font color='414141'>$subject</font></a>{$comment_cnt}</td></tr>";


요기서 마지막줄에 링크를 그냥 view페이지에 있는거 복사해와서

$style = "";
if ($list[$i][icon_new])
$style = " style='font-weight:' ";
$subject = "<span $style>".cut_str($list[$i][subject],20)."</span>";
$comment_cnt = "";
if ($list[$i][comment_cnt])
$comment_cnt = " <a href=\"{$list[$i][comment_href]}\"><span style='font-size:7pt;'>{$list[$i][comment_cnt]}</span></a>";
echo "<td width='{$td_width}%' valign=bottom style='word-break:break-all;'>";
echo "<table width=100%>";
echo "<tr><td height=5></td></tr>";
echo "<tr><td align=center><a href='{$list[$i][href]}'>$img</a></td></tr>";
echo "<tr><td align=center><a href='{$view[link_href][$i]}' target=_blank><font color='414141'>$subject</font></a>{$comment_cnt}</td></tr>";

요렇게 수정했는데
새창만뜨고 하얗게 아무것도 안뜨네요.. 어떻게 수정해야되나요?ㅠㅠ
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
10-04-21 조회 1,738
10-04-21 조회 1,337
10-04-21 조회 1,684
10-04-21 조회 2,674
10-04-21 조회 1,360
10-04-21 조회 2,193
10-04-21 조회 1,388
10-04-21 조회 1,253
10-04-21 조회 1,156
10-04-21 조회 1,617
10-04-21 조회 1,700
10-04-21 조회 1,517
10-04-21 조회 1,522
10-04-20 조회 1,657
10-04-20 조회 1,702
10-04-20 조회 1,663
10-04-20 조회 1,681
10-04-20 조회 1,668
10-04-20 조회 1,925
10-04-20 조회 1,792