묻고답하기

소스는 아래와 같은데요 모든 그룹의 회원 주소가 보이더라구요..
특정 그룹만 보이게 하고 싶습니다. 꼭 꼭 꼭 좀 도와주세요 제발요..ㅜ.ㅜ


<?
//---------------------------------------------------------------------------------------------------//
//  전체 회원 목록 출력 프로그램 For Zeroboard 4.1 pl2
//---------------------------------------------------------------------------------------------------//
//
//  본 전체 회원 목록 출력 프로그램은 제로보드(zeroboard.com) 4.1pl2 와 연동 되었습니다.
//
//  본 프로그램에 대한 모든 권한은 제작자 cguy (http://www.1love.co.kr/) 에게 있습니다.
//
//  본 프로그램을 개인적으로 사용시 수정할 수 있지만 소스내 모든 저작권의 수정은 금지합니다.
//
//  (프로그램 소스, HTML 소스 상의 모든 저작권 표시는 배포시 작성된 형식만을 허용합니다.)
//
//  수정된 프로그램을 재 배포 하시려면 반드시 메일로 문의 하시기 바랍니다.
//
//  cguy (cguy@1love.co.kr)
//  http://www.1Love.co.kr/
//
//
//---------------------------------------------------------------------------------------------------//
//  환경 설정 부분 (자신에 맞게 수정하세요.)
//---------------------------------------------------------------------------------------------------//

        $T_Width="95%";    // 테이블 가로 폭 (기본값 600)

        $Title="Suwon RAC - 수원 로타랙트 OB 모임";    // 웹 브라우져 창제목

        $List_Num="50";    // 한 페이지당 출력할 목록수

        $Page_Num="10";    // 목록 아래에 표시할 페이지수

        $Exec_Level="8";    // 목록을 볼수 있는 사용자 최소 레벨 (기본9. 방문객은 볼수 없습니다.)

//---------------------------------------------------------------------------------------------------//
//  설정 끝 (아래는 실행부분입니다. 잘못 수정하면 작동하지 않을수 있습니다.)
//---------------------------------------------------------------------------------------------------//





// 제로보드 모듈
require "lib.php";

// DB 접속
if(!$connect) $connect = dbconn();

// 비회원 보기 금지
if(!$member) $member = member_info();
if($member[level]>$Exec_Level) Error("승인된 회원만 열람하실 수 있습니다.");

// 전체회원 계산
$totmem=mysql_fetch_array(mysql_query("select count(*) from zetyx_member_table"));
$total_mem=$totmem[0];

echo"
<!-
======================== Copyright ========================


본 전체 회원 목록 출력 프로그램은 제로보드(zeroboard.com) 4.1pl2 와 연동 되었습니다.

본 프로그램에 대한 모든 권한은 제작자 cguy (http://www.1love.co.kr/) 에게 있습니다.

본 프로그램을 개인적으로 사용시 수정할 수 있지만 소스내 모든 저작권의 수정은 금지합니다.

(프로그램 소스, HTML 소스 상의 모든 저작권 표시는 배포시 작성된 형식만을 허용합니다.)

수정된 프로그램을 재 배포 하시려면 반드시 메일로 문의 하시기 바랍니다.


cguy (cguy@1love.co.kr)
http://www.1Love.co.kr/


========================================================
->













<html>
<head>
<title>$Title</title>

</head>



<body style='margin:10' oncontextmenu='return false' onselectstart='return false' ondragstart='return false'>

<div align=center>

<table width=$T_Width cellpadding=0 cellspacing=0>
<tr>
<td align=right colspan='7'>사이트 전체 회원 : $total_mem 분  </td>
</tr>
<tr>
<td height='1' background='cguy_dot.gif'+ '+ ' colspan='7'></td>
</tr>
<tr bgcolor=#F4F4D2 height=30>
<td align=center></td>
<td align=center>이름</td>
<td align=center>근무지</td>
<td align=center>전화</td>
<td align=center>휴대폰</td>
<td align=center>E-mail</td>
<td align=center>생일</td>
<td align=center>주소</td>
</tr>
<tr>
<td height='1' background='cguy_dot.gif' colspan='7'></td>
</tr>

";

        // 페이지 구하는 부분
        $temp=mysql_fetch_array(mysql_query("select count(*) from zetyx_member_table"));
        $total=$temp[0];

        if(!$page_num)$page_num=$List_Num;
        $href.="&page_num=$page_num";

        if(!$page) $page=1;
        $start_num=($page-1)*$page_num;
        $total_page=(int)(($total-1)/$page_num)+1;
        $number=$total-($page-1)*$page_num;
        // END

        // 검색 키워드 설정
        if($key){
                $key=addslashes($key);
                $s_que=" user_id='$key'";
                $key=stripslashes($key);
        }

        if($s_que) $s_que="where ".$s_que;
        // END

        // 회원 정보 가져오기
        $result=mysql_query("select * from zetyx_member_table $s_que order by name  limit $start_num,$page_num");
        // END

        // 회원 정보 뿌리기
        while($data=mysql_fetch_array($result))
        {
                $no=stripslashes($data[no]);
                $user_id=stripslashes($data[user_id]);
                $name=stripslashes($data[name]);
                $job=stripslashes($data[job]);
            $office_tel=stripslashes($data[office_tel]);
            $handphone=stripslashes($data[handphone]);
              $email=str_replace(".","·",$data[email]);
                $email=str_replace("@","@",$email);
                $birth=date("Y/m/d", $data[birth]);
              $address=stripslashes($data[office_address]);

echo
"
<tr height=30>
<td align=center width=30 >$no</td>
<td align=center width=60><a href=javascript:void(window.open('view_info.php?member_no=$data[no]','view_info','width=400,height=510,toolbar=no,scrollbars=yes')) onfocus=blur(); title='ID : $user_id'>$name</a></td>
<td align=center width=100>$job</td>
<td align=center width=80>$office_tel</td>
<td align=center width=80>$handphone</td>
<td align=center width=150>$email</td>
<td align=center width=80>$birth</td>
<td align=left >$address</td
</tr>
<tr>
<td height='1' background='+ 'cguy_dot.gif' colspan='7'></td>
</tr>

";

        $number--;

        } // while 처리 끝

?>

</table>

<?
if(!$key){

echo"
<table width=$T_Width cellpadding=5 cellspacing=0>
<tr>
<td align=center>
";

        // 페이지 나타내는 부분
        $show_page_num=$Page_Num;
        $start_page=(int)(($page-1)/$show_page_num)*$show_page_num;
        $i=1;

        if($page>$show_page_num){$prev_page=$start_page;echo"<a href=$PHP_SELF?page=$prev_page$href>[Prev] </font></a>";}

        while($i+$start_page<=$total_page&&$i<=$show_page_num)
        {
                $move_page=$i+$start_page;
                if($page==$move_page)echo"<b> $move_page </b>";
                else echo"<a href=$PHP_SELF?page=$move_page$href>[$move_page] </font></a>";
        $i++;
        }

        if($total_page>$move_page){$next_page=$move_page+1;echo"<a href=$PHP_SELF?page=$next_page$href> [Next]</a>";}
        // END
}

echo"
</td>
</tr>
</table>
";
?>

<table width=<?echo"$T_Width";?>>
<tr>
<td align=center>
<form method=get action='<?=$PHP_SELF?>'>
<input type=text name=key size=16 style='background-color:#EEEEEE; border-width:1px; border-style:solid; border-bottom-color: 404040; border-left-color: 404040; border-right-color: 404040; border-top-color: 404040; height:21' title='찾고자 하는 회원의 ID 를 입력하세요' onclick="alert('찾고자 하는 회원의 ID 를 입력하세요')"><input type=submit value='search!' style='+ 'background-color:#404040; border-width:1px; border-style:solid; border-bottom-color: 404040; border-left-color: 909090; border-right-color: 909090; border-top-color: 404040; font-family:Tahoma; font-size:8pt; color:#ffffff; cursor:hand; height:21'><input type=button onClick=location.href('javascript:history.back(1)') value='Cancel' style='background-color:#404040; border:1 #404040 solid; font-family:Tahoma; font-size:8pt; color:#ffffff; cursor:hand; height:21'>
</form>
</td>
</tr>


<tr>
<tr><td align=right>
<font title="<?=date("Y년 m월 d일 H시 i분 s초",time())?>" style='font-family:tahoma;font-size:11px'><font color=909090>This member information is checked at <?=date("Y/m/d h:i:s a")?></font></font>
<br>
<font style='font-family:verdana; font-size:11px; letter-spacing:-1px'><a href="http://www.1Love.co.kr/" target="_blank"><font color=909090>Copyrighted by <font color='4090FF'><b>C</b></font>guy@<b><font color='#FF8055'>1</font></b>LOVE</font></font>
</td></tr>
</tr>
</table>

</div>

</body>

</html>
글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
khl007 아파치에서 자기의 웹 주소를 어떻게 만듭니까? [2] 2007.08.10
서상우 게시판 추출에 관한 질문입니다. [2] 2007.08.10
진삐 프레임 나눈 상태에서... 프레임이 움직여요~ [4] 2007.08.10
풍월주인 [re] 이미지 순환법 에 대 해 ...  
조영준 이미지 순환법 에 대 해 ...  
양서열 PHP에 관한질문인데요 근데 거의 HTML쪽? [3] 2007.08.10
torayo 송성훈 폰트 상용입니까?  
수진 최근게시물에서... [1] 2007.08.10
이인종 페이지뜨는 속도가 상당히 늘어났어요..ㅠ_ㅠ  
블루엔젤 페이지가 로딩된 시간  
조현주 안정적인 서버호스팅을 제공하는 업체 추천해주세요.*  
AT4u PHP의 $Remote_ADDR 은 과연 어디서 나오는가?  
Rico 부드럽게 되는 이미지롤오버 자바로 하는법.... [1] 2007.08.10
여경호 누구나 한번쯤궁금해 하실꺼구요. 프로그래밍인지 자바인지모르겟습니다. [2] 2007.08.10
이정도 사양의 서버라면.. [2] 2007.08.10
경자 스크립트 삽입에 대해 제로보드에서 [3] 2007.08.10
Leve 폼 전송에 관한 질문..  
同感 접속을 막아놓은 사이트에 들어가는 방법.....-_ㅜ [2] 2007.08.10
은일이 제발 도와주세요. 주소록인데 해당 그룹만 보이게 하고 싶어요.. [2] 2007.08.10
수진 최근게시물을 적용시킨 해당 게시판에 헤더,푸터를 적용시키는 방법 좀 알려주세요. [1] 2007.08.10
End 로그인폼에 대해서 질문 [1] 2007.08.10
김준홍 혹시..... 디어유넷 아시는분... [2] 2007.08.10
날건달;달식 메인 투표를 하면 위에 항목이 올라가요 ㅠㅠ 도와주세요 ㅠㅠ  
에이시♬ CD 에 mp3 를 저장했습니다만; [3] 2007.08.10
영생교교주 쇼핑몰가면 교육용이라는것이 있는데 [4] 2007.08.10
메일짱 외부로그인과 최근게시물에관한 질문입니다. [3] 2007.08.10
허진규 [php]파일업로드가 안되요..  
서버를 가져가면 회선을제공해주는... [2] 2007.08.10
장진규 퍼미션이 뭐예요? -_-ㆀ [1] 2007.08.10
박창현 나모에서요 플레쉬버튼에 하이퍼 링크를 달았는데.. [1] 2007.08.10