if($rowPageCount[0] > 0){
$i = 0;
while( $row = mysql_fetch_assoc($result) ){
$targetUrl = "style='cursor:pointer;' onclick=\"location.href='".$objCommon->getQueryString('read.php', $row[no], $_REQUEST)."'\"";
if( "1" == $row['secret'] ){
if(!$loginCheck){ // 비로그인 상태
if( "1" == $row['secret'] && $row['member_fk'] > 0 ){ // 비공개글, 회원작성글
$targetUrl = "style='cursor:pointer;' onclick=\"goLogin()\"";
} else if( "1" == $row['secret'] ) {
$targetUrl = "style='cursor:pointer;' onclick=\"alert('비공개글입니다.');\"";
}
} else { // 로그인 상태
if( "1" == $row['secret'] && $row['member_fk'] > 0 ){ // 비공개글, 회원작성글
if( $row['member_fk'] != $_SESSION['member_no'] ){ // 비공개글, 본인작성글이 아닐경우
$targetUrl = "style='cursor:pointer;' onclick=\"alert('비공개글입니다.');\"";
}
}
}
}
//(지점 > 진료과목) 체크 로직
$firstTitle = "[";
if ( $useBranch && "" != $row['hospital_name'] ) {
$firstTitle .= $row['hospital_name'];
}
if ($useClinic && "" != $row['clinic_name']) {
if ("[" != ($firstTitle)) {
$firstTitle.=" l ";
}
$firstTitle.= $row['clinic_name'];
}
$firstTitle.="]";
if ("[]" == ($firstTitle)) {
$firstTitle = "";
}
?>
| 0 |
if( "1" == $row['top'] ){ ?>
}?>
if (checkNewIcon($row['registdate'], $row['newicon'], 1)) { ?>
} ?>
//=getAnwserUserName($row['answer'], true)?>
//=getSecretUserName($row['secret'], true)?>
|
대기 |
공개 |
|
|