최신글 접근권한 문의 정보
최신글 접근권한 문의
본문
로그인 했을때만 최신글을 출력하구요.
로그인전에 특정문자 출력 어덯게 해야하나요?
이부분을 안보이게 해야해서요..
이렇게해선는 안되네요..
로그인전에 특정문자 출력 어덯게 해야하나요?
<?
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 "이용하실 수 없습니다";
}
?>
이렇게해선는 안되네요..
댓글 전체
if ($member[mb_id]) { ...로 해보세요