"; echo ":: 내 그룹"; if ($mbrecommend) { $profileRc = get_member("$mbrecommend"); echo " >> $profileRc[mb_name]($profileRc[mb_nick], $profileRc[mb_id])님의 하위그룹입니다."; } echo "

(숫자)를 클릭하면 하위그룹으로 이동합니다. (현재 페이지당 2대까지 보임)"; echo ""; echo ""; echo ""; 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 ""; echo ""; echo ""; echo "
아이디이름연락처"; echo "최종접속가입날짜"; for ($k=0,$l=1; $row2=mysql_fetch_array($result2); $k++,$l++) { $tmp2_id = $row2[mb_id]; $profile2 = get_member("$tmp2_id"); $sqlRnum2 = "select count(*) as Rnum2 from $g5[member_table] where mb_recommend = '$tmp2_id' and mb_level >= '2'"; $rowRnum2 = sql_fetch($sqlRnum2); echo "
$l"; echo "$profile2[mb_id]"; echo "$profile2[mb_name]($profile2[mb_nick])"; if ($profile2[mb_level] >= 4) { echo ""; } echo "($rowRnum2[Rnum2])"; 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 "
$profile2[mb_today_login]"; echo "$profile2[mb_datetime]"; } echo "
"; } } } echo "
"; echo ""; } //회원만 보게... include_once("./_tail.php"); ?>