최신글 접근권한 문의 > 그누4 질문답변

그누4 질문답변

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

최신글 접근권한 문의 정보

최신글 접근권한 문의

본문

로그인 했을때만 최신글을 출력하구요.
로그인전에 특정문자 출력 어덯게 해야하나요?




<?

for ($i=0; $i<count($list); $i++)
{
    if ($i > 0)
        echo "<tr><td> </td></tr>";

    $title = get_text($list[$i][wr_subject]);
    $content = cut_str(get_text($list[$i][wr_4]), 20);
    //$img = "$g4[path]/data/file/$bo_table/".urlencode($list[$i][file][0][file]);
    //if (!file_exists($img) || !$list[$i][file][0][file])
    //    $img = "$latest_skin_path/img/no_image.gif";
    $href = "$g4[bbs_path]/board.php?bo_table=$bo_table";

    echo <<<HEREDOC
    <tr width="232">
		<td width="">
        <table width="232" border="0" cellspacing="0" valign="top">
        <tr height='2' colspan='4'><td></td></tr>
        <tr height='18'>
           
			<td width="75" align="left"><a href='{$list[$i][ca_name_href]}'><font style='font-family:돋움; font-size:9pt; letter-spacing:-1px; color:#767be3;'>{$list[$i][ca_name]}</font></a></td>
			<td width="115" align="left" style='font-family:돋움; font-size:9pt; letter-spacing:-1px;'><a href='$g4[bbs_path]/board.php?bo_table=$bo_table&wr_id={$list[$i][wr_id]}'>{$list[$i][wr_4]}</a></td>
<td width="48" align="right" style='font-family:돋움; font-size:8pt; color:#996633;'>{$list[$i][wr_1]}</td>
		<tr><td height='1' colspan='4' bgcolor='#E5E5E5'></td></tr>
        
        </table>
    </td></tr>
HEREDOC;
}
?>

이부분을 안보이게 해야해서요..



<? 
if($member[mb_level]>=3){ 

    echo "여기"; 

}else{ 

    echo "이용하실 수 없습니다"; 

} 
?>


이렇게해선는 안되네요..

댓글 전체

전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT