SA회원 관리
=$nm_name?> 일반회원
최종 로그인 : =$dt_lastlogin?>
include("../inc/inc_header_sa.php") ?>
▶ 회원정보
| 이름 |
=$nm_name?> |
아이디 |
=$cd_userid?> |
| 회원가입일 |
=$dt_insert?> |
연락처 |
=$nm_hp?> |
| 번호 |
제목 |
작성일 |
답변여부 |
답변 |
$cd_board = "02";
$ds_kind = "A";
$cd_user = $_REQUEST["cd_user"];
if (empty($PageNo)) {$PageNo=1;}else{$PageNo=$PageNo;}
$PageSize=2; //목록개수설정
$pagestartpoint=($PageNo-1)*$PageSize;
$sql = "where cd_board='$cd_board' and ds_delind='N'";
$sql = $sql." and ds_kind='$ds_kind' ";
$sql = $sql." and cd_user='$cd_user' ";
if($searchword != ""){
if($searchtype=="" || $searchtype==null){
$sql = $sql. " and (nm_title like '$searchword%' or nm_content like '$searchword%' or cd_userid like '$searchword%')";
}else{
$sql = $sql. " and $searchtype like '$searchword%'";
}
}
$totalrows = @mysql_result(mysql_query("select count(*) from board_master $sql"),0,0);
if($totalrows>0) {
$r = mysql_query("SELECT * FROM board_master $sql ORDER BY ds_top desc, no_famally ASC, no_order ASC LIMIT 0,2");
$i=1;
while($col = mysql_fetch_array($r)) {
$date = strtotime ($col[dt_insert]);
$view_date = strtotime ("-1 day",time());
if($date >= $view_date) {
$newicon = "
";
} else {
$newicon = "";
}
if($col[no_step]>0){
$padding = $col[no_step] * 8;
$step = "";
}
$tmpNum =$totalrows-($PageSize*($PageNo-1));
$no = ($tmpNum - $i)+1;
?>
| =$no?> |
if($cd_board=="99"){?>
 |
}?>
=text_cut($col[nm_title],50)?> |
=$col[dt_insert]?> |
if($cd_board=="02"){?>
=($col[nm_reply] == "") ? "미답변" : "답변완료" ?> |
if($col[nm_reply] == ""){?>
답변
}?>
|
}?>
$i++;
}
}else{
?>
| 등록된 정보가 없습니다. |
}
?>
include("../inc/inc_footer.php") ?>
include("../inc/inc_bottom.php") ?>
mysql_close($connect);
?>