최신글에서 그룹타겟으로 지정하고 싶을때 > 질문답변

본문 바로가기
사이트 내 전체검색

질문답변

서버정보나 계정정보는 보안유지를 위해 관리자쪽지나 메일로 발송해 주시거나 제작의뢰 게시판을 이용해 주시면 감사하겠습니다..

최신글에서 그룹타겟으로 지정하고 싶을때

페이지 정보

본문

메인이나 서브메뉴에서 그룹링크로 할때는 그룹타겟지정으로 나오는데

그룹최신글에서 그룹타겟으로 연결되지않지요...

예를들어 그룹타겟을
 http://zeronara.net/group/homepage/index.php
으로 지정했을때
메인메뉴나 서브메뉴에서 링크할때는 저렇게 링크걸어지나

그룹최신글에서는

http://zeronara.net/bbs/group.php?gr_id=z1

이렇게 연결됩니다.

그룹최신글제목에서도 타겟으로 연결할수없을까요?

소스는 아래와 같습니다.

=====================================
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
$gr = get_group($gr_id);

?>

<table align="center" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td width="3" background="<?=$latest_skin_path?>/img/latest_t_1.gif"></td>
<td background="<?=$latest_skin_path?>/img/latest_t_bg.gif">
<!--타이틀 시작: 실선 색상을 바꾸려면 215, 215, 215를 고치세요.-->
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
<tr height="30">

<td width="10"></td>
<td width="100%">&nbsp;<a href='<?=$g4[bbs_path]?>/group.php?gr_id=<?=$gr_id?>'><<font color="#57697c"><b><?=$gr[gr_subject]?></b></font></a></strong></td>
<td width="40"><a href='<?=$g4[bbs_path]?>/group.php?gr_id=<?=$gr_id?>'><img src='<?=$latest_skin_path?>/img/more.gif' border=0></a></td>
<td width="5"></td>
</tr>
</table>
<!--타이틀 끝-->
</td>
<td width="3" background="<?=$latest_skin_path?>/img/latest_t_2.gif"></td>
</tr>
<tr>
<td width="3" background="<?=$latest_skin_path?>/img/latest_m_1.gif"></td>
<td>
<table align="center" cellpadding="0" cellspacing="0" width="100%" border="0">
<? for ($i=0; $i<count($list); $i++) {?>
<tr>
<!--게시물 아래 점선 색상을 바꾸고 싶으시면 211,211,211부분을, 게시물 추출부분 세로 길이를 늘리시려면 25을 수정하세요-->

          <td width="100%" height="23" valign=middle style="border-bottom-width:0px; border-bottom-color:rgb(211,211,211); border-bottom-style:dotted;">
            <?
//날짜표시
$subject = $list[$i][subject];
$b_subject = "<strong>".$list[$i][subject]."<strong>";
?>
            <table width=100% cellpadding=0 cellspacing=0>
              <tr>
                <td height="22"> <b>ㆍ</b>
                  <?
            echo $list[$i]['icon_reply'] . " ";
            echo "<a href='{$list[$i]['href']}'>";
            if ($list[$i]['is_notice'])
                echo "<font style='font-family:돋움; font-size:9pt; color:#2C88B9;'><strong><font color=#red>[{$list[$i]['bo_subject']}]</font> {$list[$i]['subject']}</strong></font>";
            else
                echo "<font style='font-family:돋움; font-size:9pt; color:#6A6A6A;'><font color=#red>[{$list[$i]['bo_subject']}]</font> {$list[$i]['subject']}</font>";
            echo "</a>";

            if ($list[$i]['comment_cnt'])
                echo " <a href=\"{$list[$i]['comment_href']}\"><span style='font-family:돋움; font-size:8pt; color:#9A9A9A;'>{$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'];
// echo " " . $list[$i]['icon_file'];
// echo " " . $list[$i]['icon_link'];
// echo " " . $list[$i]['icon_hot'];
// echo " " . $list[$i]['icon_secret'];
?>
                </td>
              </tr>
            </table>
            <!--게시물 추출 글자 설정 끝-->
          </td>
</tr>
<? } ?>
</table>
</td>
<td width="3" background="<?=$latest_skin_path?>/img/latest_m_2.gif"></td>
</tr>
<tr height="3">
<td width="3" background="<?=$latest_skin_path?>/img/latest_b_1.gif"></td>
<td background="<?=$latest_skin_path?>/img/latest_b_bg.gif"></td>
<td width="3" background="<?=$latest_skin_path?>/img/latest_b_2.gif"></td>
</tr>
</table>

=============================

<a href='<?=$g4[bbs_path]?>/group.php?gr_id=<?=$gr_id?>'> 이부분을 어떻게 고치면 될것같은데..
어떻게 하면 될까요?
추천1

댓글목록

profile_image

골든님의 댓글

골든쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

<a href='$g4[bbs_path]/group.php?gr_id=$row[gr_id]'>
이런식으로 하는것 아닌가요?

profile_image
profile_image

골든님의 댓글

골든쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 작성일

아 target말하는것이군요..

Total 1,640건 29 페이지
  • RSS
질문답변 목록
번호 제목 글쓴이 조회 추천 날짜
940 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 38 0 10-13
939 포인트쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 10152 0 10-15
938 이동국쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7171 0 10-16
937 이동국쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 6513 0 10-16
936 디란도쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 11821 0 10-16
935 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 6388 0 10-17
934 쎄엠쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 10187 0 10-18
933
잠시 댓글1
쿠하하쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 4971 0 10-18
932 쿠하하쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 6057 0 10-18
931 뽀독뽀독쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 5535 0 10-18
930 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 42 0 10-18
929 davi쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 6154 0 10-19
928 포인트쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8217 0 10-19
927 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 9282 0 10-19
926 선도각쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12217 0 10-19
925 노가리쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 14059 0 10-20
924 선도각쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 8640 0 10-20
923 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 14328 0 10-20
922 귀여운현호쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 6805 0 10-20
921 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12299 0 10-21
920 포인트쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 16837 0 10-21
919 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 12265 0 10-21
918 귀여운현호쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 38 0 10-21
917 알럽투데이쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 13384 0 10-21
916 u2쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 7034 0 10-22

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
1,349
어제
7,441
최대
8,371
전체
1,642,199
Copyright (c) 株式会社YHPLUS. All rights reserved.