포인트게시판에 회원아이콘출력문의드립니다
본문
<?php
$sql_common = " and mb_id != '{$config[cf_admin]}' ";
$rank_rows = 5; //출력 수
$sql = " select * from {$g5[member_table]} where mb_1 > '{$row[mb_1]}' {$sql_common} order by mb_1 desc, mb_today_login desc limit {$rank_rows} ";
$result = sql_query($sql);
for ($i=0; $row=sql_fetch_array($result); $i++) {
$rank = number_format($i + 1);
$name = get_sideview($row['mb_id'], $row['mb_nick'], $row['mb_email'], $row['mb_homepage']);
$name = $row['mb_nick'];
$level = $row['mb_level'];
$point = number_format($row['mb_point']);
$point1 = number_format($row['mb_1']);
$point2 = number_format($row['mb_2']);
$point3 = number_format($row['mb_3']);
$point4 = number_format($row['mb_4']);
$point5 = number_format($row['mb_5']);
if ($rank == 1) {
$bg = '#f25555;';
} else if ($rank == 2) {
$bg = '#fdb800';
} else if ($rank <= 5) {
$bg = '#657bc8';
} else {
$bg = '#b3b8c0';
}
?>
<?php echo get_member_profile_img($mb['mb_id']); ?>
<?php echo get_member_profile_img($view['mb_id']) ?>
<?php echo get_member_profile_img($list[$i]['mb_id']) ?>
이렇게해도 출력이안되서 문의드립니다