b

또 문의 드립니다.좀 답변주시면 감사하겟습니다.

<?
echo $nobr_begin;
echo $list[$i][reply];
echo $list[$i][icon_reply];
if ($member['mb_id']) { //로그인 한 상태

if( $is_admin=='super' || $member['mb_id']==$list[ $i]['mb_id'] )
echo "<a href='{$list[$i][href]}'>";
else echo "<a>";
if ($list[$i][is_notice])
echo "<font color='#FF6600'><strong>{$list[$i][subject]}</strong></font>";
else
{
$style1 = $style2 = "";
if ($list[$i][icon_new]) // 최신글은 검정
$style1 = "color:#112222;";
if (!$list[$i][comment_cnt]) // 코멘트 없는것만 굵게
$style2 = "font-weight:normal;";
$subject1 = "{$list[$i][subject]}";
if ($is_admin=='super')
echo "<font color='#FF6600'><strong>{$list[$i][subject]}</strong></font>";
else
echo "<span style='$style1 $style2'>".substr($subject1,0,4)."******************</span>";
}
echo "</a>";
}else{ // 로그아웃 상태
if ($list[$i][is_notice])
echo "<font color='#FF6600'><strong>{$list[$i][subject]}</strong></font>";
else
{
$style1 = $style2 = "";
if ($list[$i][icon_new]) // 최신글은 검정
$style1 = "color:#112222;";
if (!$list[$i][comment_cnt]) // 코멘트 없는것만 굵게
$style2 = "font-weight:bold;";
$subject1 = "{$list[$i][subject]}";
echo "<span style='$style1 $style2'>".substr($subject1,0,2)."************</span>";
}
}





if ($list[$i][comment_cnt])
echo " <a href=\"{$list[$i][comment_href]}\"><span style='font-size:7pt;'>{$list[$i][comment_cnt]}</span></a>";

// if ($list[$i]['link']['count']) { echo "[{$list[$i]['link']['count']}]"; }
// if ($list[$i]['file']['count']) { echo "<{$list[$i]['file']['count']}>"; }

echo " " . $list[$i][icon_new];
?>

자기한테 답변글을 읽을수가없습니다.
|

댓글 2개

위 소스는 list.skin.php인가요?
최대한 자세하게 상황 설명을 해 주셔야 빠른 답변을 얻으실 수 있습니다.
list.skin.php이 파일을 수정하엿습니다.아래와같이 .

<?
echo $nobr_begin;
echo $list[$i][reply];
echo $list[$i][icon_reply];
if ($member['mb_id']) { //로그인 한 상태

if( $is_admin=='super' || $member['mb_id']==$list[ $i]['mb_id'] )

이런 형태로 쓰니깐 답변을 볼수가 없습니다.자기 글만 링크 걸리구요 ..


echo $nobr_begin;
echo $list[$i][reply];
echo $list[$i][icon_reply];
if ($member['mb_id']) { //로그인 한 상태
if ($is_admin=='super' || $member['mb_id'] != $write_src['mb_id'])

이런 형태로 쓰니깐 파일은 답변은 볼수잇지만 링크가 걸립니다 ..

어떻케 하면 자기글과 답변에만 링크가 걸리고 나머지 링크는 모두 사용할수없게하는지요 .

아래는 사이트 주소입니다

http://www.eu114.com/bbs/board.php?bo_table=fztest
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
17년 전 조회 810
17년 전 조회 1,178
17년 전 조회 936
17년 전 조회 741
17년 전 조회 958
17년 전 조회 1,523
17년 전 조회 842
17년 전 조회 953
17년 전 조회 722
17년 전 조회 780
17년 전 조회 948
17년 전 조회 889
17년 전 조회 948
17년 전 조회 954
17년 전 조회 948
17년 전 조회 833
17년 전 조회 981
17년 전 조회 949
17년 전 조회 1,253
17년 전 조회 1,425
🐛 버그신고