RSS스킨에 링크관련 질문입니다. 정보
RSS스킨에 링크관련 질문입니다.본문
RSS를 이용해서 신문이나 기타등등 편하게 읽고 싶어서 홈페이지를 만들고 있습니다.
내용에는 달랑제목과 기사출처: HTTP://~~~~ 나와있고 다른내용이없어서
내용을 안보고
리스트창에서 제목클릭시에 기사출처인곳으로 가게할려면 어떤부분을 고쳐줘야하나요 -_-;; 초보라서..
테스트페이지 입니다.-0-
저리스트에서 기사클릭시 신문사로 바로넘어가게 할려구요.
후..검색하고 다른스킨바도 ..... 후.. 잘몰라서 질문합니다.
list.skin.php 내용인데 어디부분을 고쳐줘야 ㅠ.ㅠ
아니면 다른부분을 고쳐줘야 하나요?
<?
echo $nobr_begin;
echo $list[$i][reply];
echo $list[$i][icon_reply];
echo $nobr_begin;
echo $list[$i][reply];
echo $list[$i][icon_reply];
if ($is_category) { ?><a href="<?=$list[$i][ca_name_href]?>"><span class=small style='color:#333399'>{<?=cut_str($list[$i][ca_name], 20)?>}</span></font></a> <? }
if($member[mb_level] >= $board[bo_read_level]) echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice]) echo "<font color='#AF6BE3'><strong>{$list[$i][subject]}</strong></font>";
else
{
$style1 = $style2 = "";
///////////////////////////////////
// 관심 단어 처리 /////////////////
///////////////////////////////////
for($k=0; $k<count($interest); $k++) {
$list[$i][subject] = str_replace(trim($interest[$k]), "<span style='$istyle'>".trim($interest[$k])."</span>", $list[$i][subject]);
}
/*
if ($list[$i][icon_new]) // 최신글은 검정
$style1 = "color:#112222;";
if (!$list[$i][comment_cnt]) // 코멘트 없는것만 굵게
$style2 = "font-weight:;";
*/
echo "<span style='$style1 $style2'>{$list[$i][subject]}</span>";
}
echo "</a>";
if($member[mb_level] >= $board[bo_read_level]) echo "<a href='{$list[$i][href]}'>";
if ($list[$i][is_notice]) echo "<font color='#AF6BE3'><strong>{$list[$i][subject]}</strong></font>";
else
{
$style1 = $style2 = "";
///////////////////////////////////
// 관심 단어 처리 /////////////////
///////////////////////////////////
for($k=0; $k<count($interest); $k++) {
$list[$i][subject] = str_replace(trim($interest[$k]), "<span style='$istyle'>".trim($interest[$k])."</span>", $list[$i][subject]);
}
/*
if ($list[$i][icon_new]) // 최신글은 검정
$style1 = "color:#112222;";
if (!$list[$i][comment_cnt]) // 코멘트 없는것만 굵게
$style2 = "font-weight:;";
*/
echo "<span style='$style1 $style2'>{$list[$i][subject]}</span>";
}
echo "</a>";
if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-size:7pt;'>{$list[$i][comment_cnt]}</span></a>";
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-size:7pt;'>{$list[$i][comment_cnt]}</span></a>";
if ($list[$i]['link']['count'] && $pview_link_count == 1) { echo "[{$list[$i]['link']['count']}]"; }
if ($list[$i]['file']['count'] && $pview_file_count == 1) { echo "<{$list[$i]['file']['count']}>"; }
if ($list[$i]['file']['count'] && $pview_file_count == 1) { echo "<{$list[$i]['file']['count']}>"; }
echo " " . $list[$i][icon_new];
/////////////////////////////////
// 설정에 따라 아이콘을 보여줌 //
/////////////////////////////////
if($pview_file == 1) echo " " . $list[$i][icon_file];
if($pview_link == 1) echo " <a href={$list[$i][wr_link1]} target=_blank>" . $list[$i][icon_link] . "</a>";
if($pview_hot == 1)echo " " . $list[$i][icon_hot];
if($pview_secret == 1)echo " " . $list[$i][icon_secret];
echo $nobr_end;
?>
/////////////////////////////////
// 설정에 따라 아이콘을 보여줌 //
/////////////////////////////////
if($pview_file == 1) echo " " . $list[$i][icon_file];
if($pview_link == 1) echo " <a href={$list[$i][wr_link1]} target=_blank>" . $list[$i][icon_link] . "</a>";
if($pview_hot == 1)echo " " . $list[$i][icon_hot];
if($pview_secret == 1)echo " " . $list[$i][icon_secret];
echo $nobr_end;
?>
list.skin.php
댓글 전체
if($member[mb_level] >= $board[bo_read_level]) echo "<a href='{$list[$i][href]}'>";
를...
if($member[mb_level] >= $board[bo_read_level]) echo "<a href='{$list[$i][link_href][1]}' target=_new>";
요렇게...
를...
if($member[mb_level] >= $board[bo_read_level]) echo "<a href='{$list[$i][link_href][1]}' target=_new>";
요렇게...