묻고답하기
T^T ADMIN메뉴에 회원관리에 포인트를 볼 수 있게 넣었어요. 근데.. ㅠㅠ
2011.11.01 01:46
<tr>
<th scope="col"><div><a href="{getUrl('sort_index','','sort_order',$sort_index!='last_login'&&$sort_order=='desc'?'asc':'')}">{$lang->no}</a></div></th>
<th scope="col"><div><input type="checkbox" onclick="XE.checkboxToggleAll(); return false;"/></div></th>
<th scope="col" class="quarter_wide"><div>{$lang->user_id}</div></th>
<th scope="col" class="quarter_wide"><div>{$lang->user_name}</div></th>
<th scope="col" class="quarter_wide"><div>{$lang->nick_name}</div></th>
<th scope="col" class="quarter_wide"><div>회원포인트</div></th>
<th scope="col" class="quarter_wide"><div><a href="{getUrl('sort_index','','sort_order',$sort_index!='last_login'&&$sort_order=='desc'?'asc':'')}">{$lang->signup_date}</a></div></th>
<th scope="col"><div><a href="{getUrl('sort_index','last_login','sort_order',$sort_index=='last_login'&&$sort_order=='+
'desc'?'asc':'')}">{$lang->last_login}</a></div></th>
<th scope="col" colspan="2"><div> </div></th>
</tr>
</thead>
<tbody>
<!--@foreach($member_list as $no => $val)-->
{@ $val->group_list = implode(', ', $val->group_list)}
<tr class="row{$cycle_idx}">
<td rowspan="2">{$no}</td>
<td rowspan="2"><input type="checkbox" name="cart" value="{$val->member_srl}"/></td>
<td><a href="{getUrl('act','dispMemberAdminInfo','member_srl',$val->member_srl)}">{htmlspecialchars($val->user_id)}</a></td>
<td>{htmlspecialchars($val->user_name)}</td>
<td><span class="member_{$val->member_srl}">{htmlspecialchars($val->nick_name)}</span></td>
<td>
{@
$oPointModel = getModel('point');
$point = $oPointModel->getPoint($logged_info->member_srl);
}
{$point}</td>
<td>{zdate($val->regdate,"Y-m-d H:i:s")}</td>
<td>{zdate($val->last_login,"Y-m-d H:i:s")}</td>
이렇게 넣었습니다.
음 그런데 포인트는 나오는데 가장 높은 사람의 포인트가 모든 사람에게 적혀 나오네요 .
어떻게 조정을 해야할까요?