include_once("./_common.php"); include_once("./_head.php"); if (!$member[mb_id]) { alert("회원만 볼 수 있습니다."); } else { //회원만 보게... ?> echo "
※ (숫자)를 클릭하면 하위그룹으로 이동합니다. (현재 페이지당 2대까지 보임)"; echo "
| 아이디 | 이름 | 연락처"; echo " | 최종접속 | 가입날짜"; if ($mbrecommend == "") { $memberid = $member[mb_id]; } else { $memberid = $mbrecommend; } $sql = " select mb_id, mb_name, mb_email, mb_homepage, mb_open, mb_recommend from $g5[member_table] where mb_recommend = '$memberid' and mb_level >= '2' order by mb_datetime desc "; $result = sql_query($sql); if(@mysql_num_rows($result)>0) { for ($i=0,$j=1; $row=mysql_fetch_array($result); $i++,$j++) { $tmp_id = $row[mb_id]; $profile = get_member("$tmp_id"); $sqlRnum = "select count(*) as Rnum from $g5[member_table] where mb_recommend = '$tmp_id' and mb_level >= '2'"; $rowRnum = sql_fetch($sqlRnum); echo " | |||||||||||||||||||
| $j"; echo " | $profile[mb_id]"; echo " | $profile[mb_name]($profile[mb_nick])"; if ($profile[mb_level] >= 4) { echo "★"; } echo " | ($rowRnum[Rnum])"; echo " | ";
if ($profile[mb_hp]) { echo "$profile[mb_hp]"; }
if ($profile[mb_tel]) { echo " $profile[mb_tel]"; } if ($profile[mb_email]) { echo " $profile[mb_email]"; } echo " | $profile[mb_today_login]"; echo " | $profile[mb_datetime]"; $sql2 = "select mb_id, mb_name, mb_email, mb_homepage, mb_open, mb_recommend from $g5[member_table] where mb_recommend = '$tmp_id' and mb_level >= '2' order by mb_datetime desc "; $result2 = sql_query($sql2); if(@mysql_num_rows($result2)>0) { echo " | |||||||||||||||||
";
echo "
| |||||||||||||||||||||||